Repository navigation
Update dependencies - #89
Merged
Merged
Conversation
Member
|
Thanks @ackintosh - Still need to sort out CI tho |
Member
Author
|
The dependencies have been bumped, but some of them are still pre-release (or RC) versions. It's better to wait for the stable release. |
the trait `DerefMut` is not implemented for `OsRng`
`thread_rng` is deprecated since 0.9.0: Renamed to `rng`
`try_sign_digest_with_rng` and `verify_digest` have been updated in RustCrypto/signatures#1064
error[E0599]: the method `fill_bytes` exists for struct `rand::rngs::OsRng`, but its trait bounds were not satisfied
--> src/keys/rust_secp256k1.rs:27:19
|
27 | OsRng.fill_bytes(&mut noncedata);
| ^^^^^^^^^^
|
::: /Users/akihito/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1
|
47 | pub struct OsRng;
| ---------------- doesn't satisfy `rand::rngs::OsRng: rand::RngCore`, `rand::rngs::OsRng: std::ops::DerefMut` or `rand::rngs::OsRng: std::ops::Deref`
|
= note: the following trait bounds were not satisfied:
`rand::rngs::OsRng: std::ops::DerefMut`
which is required by `rand::rngs::OsRng: rand::RngCore`
`rand::rngs::OsRng: std::ops::Deref`
which is required by `rand::rngs::OsRng: rand::RngCore`
since the first argument type has been changed from `&Message` to `impl Into<Message>`. rust-bitcoin/rust-secp256k1@ec0a69f
warning: passing a unit value to a function
… to 0.10 to align with them
warning: called `unwrap` on `build` after checking its variant with `is_none` help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#unnecessary_unwrap
ackintosh
commented
Aug 15, 2026
ackintosh
left a comment
Member
Author
There was a problem hiding this comment.
I left comments explaining why each of these changes was needed due to the dependency updates.
ackintosh
marked this pull request as ready for review
August 15, 2026 22:03
dknopik
reviewed
Sep 22, 2026
dknopik
approved these changes
Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR closes #88
Dependency updates
rand0.80.10sha30.100.11k2560.130.14ed25519-dalek2.13.0secp256k10.300.31Breaking changes
This needs a new minor release.
k256::ecdsa::SigningKeyanded25519::SigningKeydirectly, and EnrKey is only implemented for the new versions. Downstream creates that depend onk256/ed25519-dalekdirectly must upgrade, or the key types will no longer unify.