Move xtask dependencies into Cargo.toml

This commit is contained in:
Connor Fitzgerald 2025-04-25 15:15:13 -04:00 committed by Andreas Reich
parent eb4a2b77d7
commit 9c32742dbe
3 changed files with 26 additions and 22 deletions

View File

@ -112,11 +112,12 @@ ctor = "0.4"
diff = "0.1"
document-features = "0.2.11"
encase = "0.11.0"
env_logger = "0.11.8"
env_logger = { version = "0.11.8", default-features = false }
fern = "0.7"
flume = "0.11"
futures-lite = "2"
glam = "0.30"
glob = "0.3.1"
half = { version = "2.5", default-features = false } # We require 2.5 to have `Arbitrary` support.
hashbrown = { version = "0.15.2", default-features = false, features = [
"default-hasher",
@ -126,7 +127,9 @@ heck = "0.5"
hexf-parse = "0.2.1"
image = { version = "0.25", default-features = false, features = ["png"] }
indexmap = { version = "2.7.1", default-features = false }
indicatif = "0.17"
itertools = { version = "0.14.0" }
jobserver = "0.1"
ktx2 = "0.4"
libc = { version = "0.2.168", default-features = false }
# See https://github.com/rust-fuzz/libfuzzer/issues/126
@ -137,6 +140,7 @@ log = "0.4.21"
nanoserde = "0.2.1"
nanorand = { version = "0.7", default-features = false, features = ["wyrand"] }
noise = "0.9"
num_cpus = "1.16"
# `half` requires 0.2.16 for `FromBytes` and `ToBytes`.
num-traits = { version = "0.2.16", default-features = false }
nv-flip = "0.1"
@ -161,6 +165,7 @@ quote = "1.0.38"
raw-window-handle = { version = "0.6.2", default-features = false }
rwh_05 = { version = "0.5.2", package = "raw-window-handle" } # temporary compatibility for glutin-winit
rayon = "1.3.0"
regex-lite = "0.1.5"
renderdoc-sys = "1.1.0"
rspirv = { version = "0.11", git = "https://github.com/gfx-rs/rspirv", rev = "b969f175d5663258b4891e44b76c1544da9661ab" }
ron = "0.10"
@ -170,6 +175,7 @@ ron = "0.10"
rustc-hash = { version = "1.1.0", default-features = false }
serde_json = "1.0.140"
serde = { version = "1.0.219", default-features = false }
shell-words = "1.1.0"
smallvec = "1.9.0"
spirv = "0.3"
static_assertions = "1.1.0"
@ -182,6 +188,8 @@ thiserror = { version = "2.0.3", default-features = false }
unicode-ident = "1.0.5"
walkdir = "2.3.0"
winit = { version = "0.29", features = ["android-native-activity"] }
which = "7"
xshell = "0.2.3"
# Metal dependencies
metal = "0.32.0"

View File

@ -6,14 +6,14 @@ publish = false
rust-version = "1.84"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
anyhow = "1"
env_logger = { version = "0.11.0", default-features = false }
glob = "0.3.1"
hlsl-snapshots = { path = "../hlsl-snapshots" }
indicatif = "0.17"
jobserver = "0.1"
log = "0.4.17"
num_cpus = "1.16"
pico-args = "0.5.0"
shell-words = "1.1.0"
which = "7.0.0"
anyhow.workspace = true
env_logger = { workspace = true, default-features = false }
glob.workspace = true
hlsl-snapshots.workspace = true
indicatif.workspace = true
jobserver.workspace = true
log.workspace = true
num_cpus.workspace = true
pico-args.workspace = true
shell-words.workspace = true
which.workspace = true

View File

@ -13,13 +13,9 @@ unexpected_cfgs = { level = "warn", check-cfg = [
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# The dependencies in this config have no transitive dependencies.
anyhow = "1.0.71"
env_logger = { version = "0.11.0", default-features = false }
regex-lite = "0.1.5"
log = "0.4.18"
pico-args = { version = "0.5.0", features = [
"eq-separator",
"short-space-opt",
"combined-flags",
] }
xshell = "0.2.3"
anyhow.workspace = true
env_logger.workspace = true
regex-lite.workspace = true
log.workspace = true
pico-args.workspace = true
xshell.workspace = true