Skip to content

Commit dc6bbbb

Browse files
authored
Have rand feature enable rand_core/getrandom (#745)
...as opposed to `rand_core/std`, which links the `std` crate
1 parent 65c127c commit dc6bbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ default = ["rand"]
4444
alloc = ["serdect?/alloc"]
4545

4646
extra-sizes = []
47-
rand = ["rand_core/std"]
47+
rand = ["rand_core/getrandom"]
4848
serde = ["dep:serdect"]
4949

5050
[package.metadata.docs.rs]

0 commit comments

Comments
 (0)