Skip to content

Commit 2c47ff7

Browse files
committed
Move rand to dev-dependencies
1 parent 715d81c commit 2c47ff7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ ibig = { version = "0.3.6", default-features = false, features = ["std"] }
2828
clap = { version = "4.5.21", features = ["derive", "wrap_help"] }
2929
circular-buffer = "1.2.0"
3030
chrono = "0.4.19"
31-
rand = "0.9.1"
3231
colored = "3.0.0"
3332
replace_with = "0.1.8"
3433
ordered-float = "5.0.0"
@@ -38,6 +37,7 @@ env_logger = {version = "0.11", default-features = false, features = ["auto-colo
3837
unescape = "0.1"
3938
ouroboros = "0.18.5"
4039
typed-arena = "2.0.2"
40+
same-file = "1.0.6"
4141

4242
# Tree sitter
4343
tree-sitter = "0.26.6"
@@ -60,12 +60,14 @@ lsp-types = {version = "0.97.0", optional = true}
6060
crossbeam-channel = {version = "0.5.15", optional = true}
6161
serde_json = {version = "1.0.97", optional = true}
6262
serde = {version = "1.0.156", optional = true}
63-
same-file = "1.0.6"
6463

6564
[build-dependencies]
6665
dirs = "6.0.0"
6766
chrono = "0.4.19"
6867

68+
[dev-dependencies]
69+
rand = "0.10.0"
70+
6971
[features]
7072
default = ["lsp"]
7173

src/typing/unifyable_cell.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ mod tests {
10871087

10881088
use rand::prelude::IndexedRandom;
10891089
use rand::seq::SliceRandom;
1090-
use rand::{Rng, SeedableRng};
1090+
use rand::{RngExt, SeedableRng};
10911091

10921092
/// `amount` must be > 0
10931093
fn add_to(to: UniCell<PeanoType>, amount: usize) -> PeanoType {

0 commit comments

Comments
 (0)