Skip to content

Commit

Permalink
ml-dsa: remove std feature (#893)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tarcieri authored Jan 24, 2025
1 parent e5a732d commit ba7f5e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ml-dsa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ categories = ["cryptography"]
keywords = ["crypto", "signature"]

[features]
default = ["std", "rand_core"]
std = ["sha3/std"]
default = ["rand_core"]
zeroize = ["dep:zeroize", "hybrid-array/zeroize"]
rand_core = ["dep:rand_core", "signature/rand_core"]

Expand Down

0 comments on commit ba7f5e4

Please sign in to comment.