-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
generic-array released v0.14.9 on Oct 13, 2015, ohttp cannot be compied now, get the error blew:
error: use of deprecated associated function `aead::generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
--> ohttp/src/rh/aead.rs:37:65
|
37 | Self::Aes128Gcm(e) => e.encrypt(Nonce::<Aes128Gcm>::from_slice(nonce), pt)?,
| ^^^^^^^^^^
|
note: the lint level is defined here
--> ohttp/src/lib.rs:1:9
|
1 | #![deny(warnings, clippy::pedantic)]
| ^^^^^^^^
= note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
for work around assign version to 0.14.7 works for me:
generic-array="=0.14.7"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels