-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
There's a new version of the upstream rand_core package which seems to break this library when not pinned:
error[E0599]: no method named `unwrap_mut` found for mutable reference `&mut R` in the current scope
--> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/x-wing-0.1.0-pre.3/src/lib.rs:87:62
|
87 | let ek_x = EphemeralSecret::random_from_rng(&mut rng.unwrap_mut());
| ^^^^^^^^^^
|
help: there is a method `unwrap_err` with a similar name
|
87 - let ek_x = EphemeralSecret::random_from_rng(&mut rng.unwrap_mut());
87 + let ek_x = EphemeralSecret::random_from_rng(&mut rng.unwrap_err());
I can fix it locally by pinning rand_core, but would be nice to update the calls.
rand_core = { version = "=0.10.0-rc-3", default-features = false }
Metadata
Metadata
Assignees
Labels
No labels