Skip to content

Commit

Permalink
Have rand feature enable rand_core/getrandom (#745)
Browse files Browse the repository at this point in the history
...as opposed to `rand_core/std`, which links the `std` crate
  • Loading branch information
tarcieri authored Jan 20, 2025
1 parent 65c127c commit dc6bbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ default = ["rand"]
alloc = ["serdect?/alloc"]

extra-sizes = []
rand = ["rand_core/std"]
rand = ["rand_core/getrandom"]
serde = ["dep:serdect"]

[package.metadata.docs.rs]
Expand Down

0 comments on commit dc6bbbb

Please sign in to comment.