Skip to content

Commit

Permalink
Upgrade to Rand 0.7
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vks committed Aug 2, 2019
1 parent b359fc7 commit 0aef945
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -29,7 +29,7 @@ default-features = false

[dependencies.rand]
optional = true
version = "0.5"
version = "0.7"
default-features = false

[features]
Expand Down
4 changes: 2 additions & 2 deletions src/crand.rs
Expand Up @@ -42,8 +42,8 @@ where
}

#[cfg(test)]
fn test_rng() -> SmallRng {
SmallRng::from_seed([42; 16])
fn test_rng() -> StdRng {
StdRng::from_seed([42; 32])
}

#[test]
Expand Down

0 comments on commit 0aef945

Please sign in to comment.