-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Description
When trying to compile the x25519-dalek-ng crate with Rust 1.58, I get the following errors:
error[E0405]: cannot find trait `ZeroizeOnDrop` in crate `zeroize`
--> src/x25519.rs:64:10
|
64 | #[derive(Zeroize)]
| ^^^^^^^ not found in `zeroize`
|
= note: this error originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0405]: cannot find trait `ZeroizeOnDrop` in crate `zeroize`
--> src/x25519.rs:112:17
|
112 | #[derive(Clone, Zeroize)]
| ^^^^^^^ not found in `zeroize`
|
= note: this error originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0405]: cannot find trait `ZeroizeOnDrop` in crate `zeroize`
--> src/x25519.rs:158:10
|
158 | #[derive(Zeroize)]
| ^^^^^^^ not found in `zeroize`
|
= note: this error originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info)
The crate depend on zeroize 1.2.0, but updating it to 1.4.x doesn't help. Only 1.5.0 seems to work.
Metadata
Metadata
Assignees
Labels
No labels