chore: format TOML files with taplo 0.9.3

This commit is contained in:
Erich Gubler 2024-10-04 10:57:23 -04:00
parent bc5b24520a
commit d22aa2eb55
7 changed files with 55 additions and 39 deletions

View File

@ -1,50 +1,48 @@
[bans] [bans]
multiple-versions = "deny" multiple-versions = "deny"
skip-tree = [ skip-tree = [
# We never enable loom in any of our dependencies but it causes dupes # We never enable loom in any of our dependencies but it causes dupes
{ name = "loom", version = "0.7.2" }, { name = "loom", version = "0.7.2" },
{ name = "windows-sys", version = "0.45" }, { name = "windows-sys", version = "0.45" },
{ name = "winit", version = "0.29" }, { name = "winit", version = "0.29" },
{ name = "rustc_version", version = "0.2.3" }, { name = "rustc_version", version = "0.2.3" },
{ name = "sourcemap", version = "7.1.1" }, { name = "sourcemap", version = "7.1.1" },
{ name = "miniz_oxide", version = "0.7.4" }, { name = "miniz_oxide", version = "0.7.4" },
] ]
skip = [ skip = [
{ name = "hlsl-snapshots", version = "0.1.0" }, { name = "hlsl-snapshots", version = "0.1.0" },
# Strum uses an old version # Strum uses an old version
{ name = "heck", version = "0.4.0" }, { name = "heck", version = "0.4.0" },
] ]
wildcards = "deny" wildcards = "deny"
allow-wildcard-paths = true allow-wildcard-paths = true
[licenses] [licenses]
allow = [ allow = [
"Apache-2.0", "Apache-2.0",
"Apache-2.0 WITH LLVM-exception", "Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause", "BSD-2-Clause",
"BSD-3-Clause", "BSD-3-Clause",
"CC0-1.0", "CC0-1.0",
"ISC", "ISC",
"MPL-2.0", "MPL-2.0",
"MIT", "MIT",
"MIT-0", "MIT-0",
"Unicode-DFS-2016", "Unicode-DFS-2016",
"Zlib", "Zlib",
] ]
[sources] [sources]
allow-git = [ allow-git = [
# Waiting on releases; used in examples only # Waiting on releases; used in examples only
"https://github.com/Razaekel/noise-rs", "https://github.com/Razaekel/noise-rs",
"https://github.com/grovesNL/glow", "https://github.com/grovesNL/glow",
"https://github.com/gfx-rs/metal-rs", "https://github.com/gfx-rs/metal-rs",
] ]
unknown-registry = "deny" unknown-registry = "deny"
unknown-git = "deny" unknown-git = "deny"
required-git-spec = "rev" required-git-spec = "rev"
[sources.allow-org] [sources.allow-org]
github = [ github = ["gfx-rs"]
"gfx-rs"
]

View File

@ -1,9 +1,7 @@
[package] [package]
name = "cts_runner" name = "cts_runner"
version = "0.1.0" version = "0.1.0"
authors = [ authors = ["Luca Casonato <hello@lcas.dev>"]
"Luca Casonato <hello@lcas.dev>"
]
edition.workspace = true edition.workspace = true
description = "CTS runner for wgpu" description = "CTS runner for wgpu"
license.workspace = true license.workspace = true

View File

@ -8,7 +8,7 @@ publish = false
anyhow = "1" anyhow = "1"
env_logger = { version = "0.10.0", default-features = false } env_logger = { version = "0.10.0", default-features = false }
glob = "0.3.1" glob = "0.3.1"
hlsl-snapshots = { path = "../hlsl-snapshots"} hlsl-snapshots = { path = "../hlsl-snapshots" }
indicatif = "0.17" indicatif = "0.17"
jobserver = "0.1" jobserver = "0.1"
log = "0.4.17" log = "0.4.17"

View File

@ -33,7 +33,16 @@ features = ["serde"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
workspace = true workspace = true
features = ["replay", "raw-window-handle", "strict_asserts", "wgsl", "metal", "dx12", "vulkan", "gles"] features = [
"replay",
"raw-window-handle",
"strict_asserts",
"wgsl",
"metal",
"dx12",
"vulkan",
"gles",
]
[dev-dependencies] [dev-dependencies]
serde.workspace = true serde.workspace = true

View File

@ -0,0 +1 @@

View File

@ -205,11 +205,21 @@ features = ["wgsl-in"]
[dev-dependencies] [dev-dependencies]
cfg-if.workspace = true cfg-if.workspace = true
env_logger.workspace = true env_logger.workspace = true
glam.workspace = true # for ray-traced-triangle example glam.workspace = true # for ray-traced-triangle example
winit.workspace = true # for "halmark" example winit.workspace = true # for "halmark" example
[target.'cfg(not(any(target_arch = "wasm32", target_os = "ios")))'.dev-dependencies] [target.'cfg(not(any(target_arch = "wasm32", target_os = "ios")))'.dev-dependencies]
glutin-winit = { workspace = true, features = ["egl", "wgl", "wayland", "x11"] } # for "raw-gles" example glutin-winit = { workspace = true, features = [
glutin = { workspace = true, features = ["egl", "wgl", "wayland", "x11"] } # for "raw-gles" example "egl",
"wgl",
"wayland",
"x11",
] } # for "raw-gles" example
glutin = { workspace = true, features = [
"egl",
"wgl",
"wayland",
"x11",
] } # for "raw-gles" example
rwh_05 = { version = "0.5", package = "raw-window-handle" } # temporary compatibility for glutin-winit in "raw-gles" example rwh_05 = { version = "0.5", package = "raw-window-handle" } # temporary compatibility for glutin-winit in "raw-gles" example
winit = { workspace = true, features = ["rwh_05"] } # for "raw-gles" example winit = { workspace = true, features = ["rwh_05"] } # for "raw-gles" example

View File

@ -8,7 +8,7 @@ publish = false
# The dependencies in this config have no transitive dependencies. # The dependencies in this config have no transitive dependencies.
anyhow = "1.0.71" anyhow = "1.0.71"
env_logger = { version = "0.10.0", default-features = false } env_logger = { version = "0.10.0", default-features = false }
regex-lite = "0.1.5" regex-lite = "0.1.5"
log = "0.4.18" log = "0.4.18"
pico-args = { version = "0.5.0", features = [ pico-args = { version = "0.5.0", features = [
"eq-separator", "eq-separator",