diff --git a/factorio-blueprint-generator/Cargo.toml b/factorio-blueprint-generator/Cargo.toml index b63d3e6..ca55cda 100644 --- a/factorio-blueprint-generator/Cargo.toml +++ b/factorio-blueprint-generator/Cargo.toml @@ -13,7 +13,7 @@ serde = { version = "1.0.192", features = ["derive"] } serde_json = "1.0.135" serde_yaml = "0.9.34" clap = { version = "4.5.26", features = ["derive"] } -rand = { version = "0.9.0", features = ["small_rng"] } +rand = { version = "0.9.0", default-features = false, features = ["small_rng"] } tracing = "0.1.41" tracing-subscriber = { version = "0.3.19", features = ["env-filter"] } tracing-perfetto = { git = "https://git.he-li.dev/hal8174/tracing-perfetto.git" } diff --git a/factorio-core/Cargo.toml b/factorio-core/Cargo.toml index f70eea6..59ff80f 100644 --- a/factorio-core/Cargo.toml +++ b/factorio-core/Cargo.toml @@ -6,12 +6,12 @@ edition = "2024" [dev-dependencies] criterion = "0.5" +proptest = "1.5.0" +proptest-derive = "0.5.0" [dependencies] clap = { version = "4.5.26", features = ["derive"] } image = "0.25.5" -proptest = "1.5.0" -proptest-derive = "0.5.0" -rand = "0.9.0" +rand = { version = "0.9.0", default-features = false } serde = { version = "1.0.217", features = ["derive"] } termcolor = "1.4.1" diff --git a/factorio-layout/Cargo.toml b/factorio-layout/Cargo.toml index 6d3b324..fdfe5ab 100644 --- a/factorio-layout/Cargo.toml +++ b/factorio-layout/Cargo.toml @@ -7,7 +7,7 @@ edition = "2024" factorio-core = { path = "../factorio-core" } factorio-pathfinding = { path = "../factorio-pathfinding" } factorio-graph = { path = "../factorio-graph" } -rand = { version = "0.9.0", features = ["small_rng"] } +rand = { version = "0.9.0", default-features = false, features = ["std", "small_rng"] } serde = { version = "1.0.192", features = ["derive"] } image = "0.25.2" serde_json = "1.0.108" diff --git a/factorio-pathfinding/Cargo.toml b/factorio-pathfinding/Cargo.toml index d191022..c0a9159 100644 --- a/factorio-pathfinding/Cargo.toml +++ b/factorio-pathfinding/Cargo.toml @@ -5,14 +5,15 @@ edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dev-dependencies] -criterion = "0.5" - [[bench]] name = "bruteforce" harness = false +[dev-dependencies] +criterion = "0.5" +proptest = "1.5.0" +proptest-derive = "0.5.0" + [dependencies] factorio-core = { path = "../factorio-core" } factorio-graph = { path = "../factorio-graph" } @@ -23,8 +24,6 @@ clap = { version = "4.4.8", features = ["derive"] } flate2 = "1.0.28" image = "0.25.2" miette = { version = "7.2.0", features = ["fancy"] } -proptest = "1.5.0" -proptest-derive = "0.5.0" serde = { version = "1.0.192", features = ["derive"] } serde_json = "1.0.108" serde_yaml = "0.9.34"