Skip to content

Commit c0a6be5

Browse files
authored
argon2+ballon-hash: remove std feature (#768)
After #767 it is no longer used This is technically true of `password-hash` as well, but as a post-1.0 crate we can't remove the `std` feature there
1 parent 6555ab2 commit c0a6be5

4 files changed

Lines changed: 1 addition & 9 deletions

File tree

argon2/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ hex-literal = "1"
3535
[features]
3636
default = ["alloc", "getrandom", "simple"]
3737
alloc = ["password-hash?/alloc"]
38-
std = ["alloc", "base64ct/std"]
3938

4039
getrandom = ["simple", "phc/getrandom"]
4140
parallel = ["dep:rayon"]

argon2/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ compile_error!("this crate builds on 32-bit and 64-bit platforms only");
134134
#[cfg(feature = "alloc")]
135135
extern crate alloc;
136136

137-
#[cfg(feature = "std")]
138-
extern crate std;
139-
140137
mod algorithm;
141138
mod blake2b_long;
142139
mod block;

balloon-hash/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ sha2 = "0.11.0-rc.3"
3030
[features]
3131
default = ["alloc", "getrandom", "password-hash"]
3232
alloc = ["password-hash/alloc"]
33-
std = ["alloc", "getrandom"]
3433

3534
getrandom = ["phc/getrandom"]
36-
parallel = ["rayon", "std"]
35+
parallel = ["dep:rayon"]
3736
password-hash = ["dep:password-hash", "dep:phc"]
3837
zeroize = ["dep:zeroize"]
3938

balloon-hash/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@
5858
#[cfg(feature = "alloc")]
5959
extern crate alloc;
6060

61-
#[cfg(feature = "std")]
62-
extern crate std;
63-
6461
mod algorithm;
6562
mod balloon;
6663
mod error;

0 commit comments

Comments
 (0)