Skip to content

Commit 1691e41

Browse files
vkscuviper
authored andcommitted
Upgrade to Rand 0.7
This bumps the MSRV to 1.32 for the `rand` feature. `SmallRng` is not used for the tests anymore, since enabling the corresponding feature would force other crates to use the feature as well.
1 parent 49528a7 commit 1691e41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ default-features = false
3030

3131
[dependencies.rand]
3232
optional = true
33-
version = "0.5"
33+
version = "0.7"
3434
default-features = false
3535

3636
[features]

src/crand.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ where
4242
}
4343

4444
#[cfg(test)]
45-
fn test_rng() -> SmallRng {
46-
SmallRng::from_seed([42; 16])
45+
fn test_rng() -> StdRng {
46+
StdRng::from_seed([42; 32])
4747
}
4848

4949
#[test]

0 commit comments

Comments
 (0)