Skip to content

Commit a01cb15

Browse files
committed
Rename library & binary crates
1 parent 1687245 commit a01cb15

File tree

22 files changed

+61
-66
lines changed

22 files changed

+61
-66
lines changed

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[workspace]
22
members = [
3+
"crates/cargo-gpu-cache",
34
"crates/cargo-gpu",
4-
"crates/cargo-gpu-cli",
55
"crates/xtask",
66
]
77

88
exclude = [
99
# This currently needs to be excluded because it depends on a version of `rust-gpu` that
10-
# uses a toolchain whose Cargo version doesn't recognize version 4 of `Cargo.lock`.
10+
# uses a toolchain whose Cargo version doesn't recognise version 4 of `Cargo.lock`.
1111
"crates/shader-crate-template",
1212
]
1313

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Command line tool for building Rust shaders using rust-gpu.
99
To install the tool ensure you have `rustup`. Then run:
1010

1111
```
12-
cargo install --git https://github.com/rust-gpu/cargo-gpu cargo-gpu-cli
12+
cargo install --git https://github.com/rust-gpu/cargo-gpu cargo-gpu
1313
```
1414

1515
After that you can use `cargo gpu` to compile your shader crates with:

crates/cargo-gpu-cache/Cargo.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[package]
2+
name = "cargo-gpu-cache"
3+
description = "Generates shader .spv files from `rust-gpu` shader crates"
4+
readme = "../../README.md"
5+
version.workspace = true
6+
edition.workspace = true
7+
repository.workspace = true
8+
keywords.workspace = true
9+
license.workspace = true
10+
11+
[dependencies]
12+
cargo_metadata.workspace = true
13+
anyhow.workspace = true
14+
spirv-builder.workspace = true
15+
legacy_target_specs.workspace = true
16+
clap = { workspace = true, optional = true }
17+
directories.workspace = true
18+
log.workspace = true
19+
relative-path.workspace = true
20+
serde.workspace = true
21+
serde_json.workspace = true
22+
crossterm.workspace = true
23+
semver.workspace = true
24+
dunce.workspace = true
25+
26+
[dev-dependencies]
27+
test-log.workspace = true
28+
cargo_metadata = { workspace = true, features = ["builder"] }
29+
cargo-util-schemas.workspace = true
30+
31+
[features]
32+
# Rebuilds target shader crate upon changes
33+
watch = ["spirv-builder/watch"]
34+
# Enables `clap` support for public structs
35+
clap = ["dep:clap", "spirv-builder/clap"]
36+
37+
[lints]
38+
workspace = true
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)