Bump dependencies to get a single version of rand (#2733)
This removes a few crates in the dependencies, and a few exceptions (at the price of a new one) in the cargo-deny configuration.
This commit is contained in:
@@ -24,7 +24,7 @@ cfg-if = "1.0"
|
||||
backtrace = "0.3.55"
|
||||
lazy_static = "1.3.0"
|
||||
psm = "0.1.11"
|
||||
rand = "0.7.3"
|
||||
rand = "0.8.3"
|
||||
anyhow = "1.0.38"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
|
||||
@@ -263,7 +263,7 @@ impl PoolingAllocationStrategy {
|
||||
|
||||
match self {
|
||||
Self::NextAvailable => free_count - 1,
|
||||
Self::Random => rand::thread_rng().gen_range(0, free_count),
|
||||
Self::Random => rand::thread_rng().gen_range(0..free_count),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ maintenance = { status = "actively-developed" }
|
||||
|
||||
[dev-dependencies]
|
||||
wiggle-test = { path = "test-helpers" }
|
||||
proptest = "0.10"
|
||||
proptest = "1.0.0"
|
||||
|
||||
[features]
|
||||
# The wiggle proc-macro emits some code (inside `pub mod metadata`) guarded
|
||||
|
||||
@@ -12,7 +12,7 @@ include = ["src/**/*", "LICENSE"]
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
proptest = "0.10"
|
||||
proptest = "1.0.0"
|
||||
wiggle = { path = "..", features = ["tracing_log"] }
|
||||
wiggle-borrow = { path = "../borrow" }
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ wiggle-borrow = { path = "../borrow", version = "0.25.0" }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = "1"
|
||||
proptest = "0.10"
|
||||
proptest = "1.0.0"
|
||||
|
||||
[[test]]
|
||||
name = "atoms_async"
|
||||
|
||||
Reference in New Issue
Block a user