Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit 82e8329

Browse files
committed
install-crate: move crate properties (version, edition) to workspace
1 parent 8df8515 commit 82e8329

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ exclude = [
1414

1515
resolver = "2"
1616

17+
[workspace.package]
18+
version = "0.1.0"
19+
edition = "2021"
20+
repository = "https://github.com/Rust-GPU/cargo-gpu"
21+
readme = "./README.md"
22+
keywords = ["gpu", "compiler", "rust-gpu"]
23+
license = "MIT OR Apache-2.0"
24+
1725
[workspace.dependencies]
1826
spirv-builder = { git = "https://github.com/Rust-GPU/rust-gpu", rev = "a30bd43db45f2bfe260051f44141e5eaffcbb4b0", default-features = false }
1927
anyhow = "1.0.98"

crates/cargo-gpu/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "cargo-gpu"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version.workspace = true
4+
edition.workspace = true
55
description = "Generates shader .spv files from rust-gpu shader crates"
6-
repository = "https://github.com/Rust-GPU/cargo-gpu"
7-
readme = "../../README.md"
8-
keywords = ["gpu", "compiler", "rust-gpu"]
9-
license = "MIT OR Apache-2.0"
6+
repository.workspace = true
7+
readme.workspace = true
8+
keywords.workspace = true
9+
license.workspace = true
1010
default-run = "cargo-gpu"
1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

0 commit comments

Comments
 (0)