Skip to content

chore(bip0039): update phf deps#150

Closed
koushiro wants to merge 2 commits into
mainfrom
bip0039/update-phf-deps
Closed

chore(bip0039): update phf deps#150
koushiro wants to merge 2 commits into
mainfrom
bip0039/update-phf-deps

Conversation

@koushiro

Copy link
Copy Markdown
Owner

Which issue does this PR close?

Closes #148
Closes #149

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

AI usage statement

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bip0039 About bip0039 crate dependencies Pull requests that update a dependency file release-note/chore The PR has a title that begins with "chore" or changes other small things that hard to tell labels Jun 25, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a3b7f521e9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bip0039/Cargo.toml
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 👍 / 👎.

@koushiro koushiro deleted the bip0039/update-phf-deps branch June 26, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bip0039 About bip0039 crate dependencies Pull requests that update a dependency file release-note/chore The PR has a title that begins with "chore" or changes other small things that hard to tell size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant