Skip to content

Commit

Permalink
imp: fixed-hash allow opting out rand when std enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Dec 1, 2023
1 parent 3a35610 commit 842ddd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fixed-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ rand = { version = "0.8.0", default-features = false, features = ["std_rng"] }

[features]
default = ["std", "rand", "rustc-hex", "byteorder"]
std = ["rustc-hex/std", "rand/std", "byteorder/std"]
std = ["rustc-hex/std", "rand?/std", "byteorder/std"]
rand = ["dep:rand"]

api-dummy = [] # Feature used by docs.rs to display documentation of hash types

Expand Down

0 comments on commit 842ddd6

Please sign in to comment.