Request to update `bitcoin_hashes` to 1.x series due to `cargo-deny` flagging when mixed with latest `rust-bitcoin`

Open
#113 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
backend

Research direction

Start by reading the dependency declarations in the repository’s Cargo.toml files and the related bip324 issue to understand the compatibility constraints. Update bip39 to use bitcoin_hashes 1.x as suggested, then check the dependency tree and run the project’s existing tests to confirm the upgrade builds and works.

Written by the indexing model from the issue text.

Description

Description

We use both rust-bitcoin crates and rust-bip39 in our fork of rust-bitcoin, rust-dashcore. Though rust-bip39 doesn't expose bitcoin_hashes as part of its public API, we had to allowlist multiple bitcoin_hashes appearing in our dependency graph due to rust-bip39 and bip324.

As bitcoin_hashes has graduated to a 1.x crate, bumping to it seems to a step in the right direction both in terms of API stability and alignment with the rust-bitcoin family of crates.

Related Items

Suggested Fix

  • Update bip39 to use bitcoin_hashes 1.x
Dominant language
Rust
Stars
116
Forks
75
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-bitcoin/rust-bip39

All issues in rust-bitcoin/rust-bip39

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.