Skip to content

Commit ba7f5e4

Browse files
authored
ml-dsa: remove std feature (#893)
It doesn't appear this feature actually does anything except transitively activate the `sha3/std` feature, which we likely plan on removing in the next breaking release. Now that `core::error::Error` is stable, we are generally trying to remove `std` features across the @RustCrypto project, except in cases where libraries do things like e.g. file I/O (for loading/saving keys) and actually have a legitimate `std` dependency that way.
1 parent e5a732d commit ba7f5e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ml-dsa/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ categories = ["cryptography"]
1515
keywords = ["crypto", "signature"]
1616

1717
[features]
18-
default = ["std", "rand_core"]
19-
std = ["sha3/std"]
18+
default = ["rand_core"]
2019
zeroize = ["dep:zeroize", "hybrid-array/zeroize"]
2120
rand_core = ["dep:rand_core", "signature/rand_core"]
2221

0 commit comments

Comments
 (0)