diff --git a/Cargo.toml b/Cargo.toml index 42b560f4..1d02bd3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,15 +11,15 @@ Library to support the reading and writing of zip files. edition = "2018" [dependencies] -aes = { version = "0.5.0", optional = true } +aes = { version = "0.6.0", optional = true } byteorder = "1.3" bzip2 = { version = "0.4", optional = true } constant_time_eq = { version = "0.1.5", optional = true } crc32fast = "1.0" flate2 = { version = "1.0.0", default-features = false, optional = true } -hmac = {version = "0.9.0", optional = true } -pbkdf2 = {version = "0.5.0", optional = true } -sha-1 = {version = "0.9.1", optional = true } +hmac = {version = "0.10.1", optional = true } +pbkdf2 = {version = "0.6.0", optional = true } +sha-1 = {version = "0.9.2", optional = true } thiserror = "1.0" time = { version = "0.1", optional = true } diff --git a/src/aes_ctr.rs b/src/aes_ctr.rs index c0391277..f5d5f7cf 100644 --- a/src/aes_ctr.rs +++ b/src/aes_ctr.rs @@ -4,7 +4,7 @@ //! different byte order (little endian) than NIST (big endian). //! See [AesCtrZipKeyStream](./struct.AesCtrZipKeyStream.html) for more information. -use aes::block_cipher::generic_array::GenericArray; +use aes::cipher::generic_array::GenericArray; use aes::{BlockCipher, NewBlockCipher}; use byteorder::WriteBytesExt; use std::{any, fmt};