diff --git a/argon2/Cargo.toml b/argon2/Cargo.toml index d830c865..6a25e054 100644 --- a/argon2/Cargo.toml +++ b/argon2/Cargo.toml @@ -35,7 +35,6 @@ hex-literal = "1" [features] default = ["alloc", "getrandom", "simple"] alloc = ["password-hash?/alloc"] -std = ["alloc", "base64ct/std"] getrandom = ["simple", "phc/getrandom"] parallel = ["dep:rayon"] diff --git a/argon2/src/lib.rs b/argon2/src/lib.rs index 5fc1f3c7..d9cefcc3 100644 --- a/argon2/src/lib.rs +++ b/argon2/src/lib.rs @@ -134,9 +134,6 @@ compile_error!("this crate builds on 32-bit and 64-bit platforms only"); #[cfg(feature = "alloc")] extern crate alloc; -#[cfg(feature = "std")] -extern crate std; - mod algorithm; mod blake2b_long; mod block; diff --git a/balloon-hash/Cargo.toml b/balloon-hash/Cargo.toml index a9ef6adc..aee306fc 100644 --- a/balloon-hash/Cargo.toml +++ b/balloon-hash/Cargo.toml @@ -30,10 +30,9 @@ sha2 = "0.11.0-rc.3" [features] default = ["alloc", "getrandom", "password-hash"] alloc = ["password-hash/alloc"] -std = ["alloc", "getrandom"] getrandom = ["phc/getrandom"] -parallel = ["rayon", "std"] +parallel = ["dep:rayon"] password-hash = ["dep:password-hash", "dep:phc"] zeroize = ["dep:zeroize"] diff --git a/balloon-hash/src/lib.rs b/balloon-hash/src/lib.rs index d9e963e4..e66fe8d3 100644 --- a/balloon-hash/src/lib.rs +++ b/balloon-hash/src/lib.rs @@ -58,9 +58,6 @@ #[cfg(feature = "alloc")] extern crate alloc; -#[cfg(feature = "std")] -extern crate std; - mod algorithm; mod balloon; mod error;