Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bip0039/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ spanish = []
[dependencies]
hmac = { version = "0.13", default-features = false }
pbkdf2 = { version = "0.13", default-features = false }
phf = { version = "0.13", default-features = false }
phf = { version = "0.14", default-features = false }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Synchronize phf_codegen with phf's layout feature

With phf 0.14, a downstream crate can enable phf/ptrhash on the shared runtime dependency through Cargo feature unification, but this crate's build script always runs phf_codegen without its matching ptrhash feature. In that consumer configuration the generated wordlist maps still emit the default CHD fields like disps, while phf::Map expects the ptrhash fields pilots/remap, so bip0039 fails to compile even though its own features did not change; either keep the 0.13 layout or force/propagate the same layout feature for both runtime and codegen.

Useful? React with 👍 / 👎.

rand = { version = "0.10", optional = true }
sha2 = { version = "0.11", default-features = false }
unicode-normalization = { version = "0.1", default-features = false }
zeroize = { version = "1.8", default-features = false, features = ["alloc"] }

[build-dependencies]
anyhow = "1.0"
phf_codegen = "0.13"
phf_codegen = "0.14"

[dev-dependencies]
const-hex = "1.17"
Expand Down
Loading