Draft
Conversation
the trait `DerefMut` is not implemented for `OsRng`
`thread_rng` is deprecated since 0.9.0: Renamed to `rng`
Member
|
Thanks @ackintosh - Still need to sort out CI tho |
# Conflicts: # src/lib.rs
`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
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. |
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