Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

-->

<!-- next-header -->
## [Unreleased]

### Changed 🛠
Expand Down Expand Up @@ -467,3 +468,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.0]

Initial release.

<!-- next-url -->
[Unreleased]: https://github.com/rust-gpu/rust-gpu/compare/v0.9.0...HEAD
[0.9.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.9.0
[0.8.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.8.0
[0.7.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.7.0
[0.6.1]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.6.0
[0.6.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.6.0
[0.5.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.5.0
[0.4.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.17]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.16]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.15]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.14]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.13]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.12]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.11]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.10]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.9]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.8]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.7]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.6]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.5]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.4]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.3]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.2]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.1]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.4.0-alpha.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.4.0
[0.3.1]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.3.0
[0.3.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.3.0
[0.2.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.2
[0.1.0]: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.1
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions crates/spirv-std/release.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# this crate updates the changelog in the root of the repo
pre-release-replacements = [
{ file = "../../CHANGELOG.md", search = "## \\[Unreleased\\]", replace = "## [{{version}}] - {{date}}" },
{ file = "../../CHANGELOG.md", search = "\\[Unreleased\\]: https://github.com/rust-gpu/rust-gpu/compare/v\\d+.\\d+.\\d+...HEAD", replace = "[{{version}}]: https://github.com/rust-gpu/rust-gpu/releases/tag/{{tag_name}}" },
{ file = "../../CHANGELOG.md", search = "<!-- next-header -->", replace = "<!-- next-header -->\n## [Unreleased]" },
{ file = "../../CHANGELOG.md", search = "<!-- next-url -->", replace = "<!-- next-url -->\n[Unreleased]: https://github.com/rust-gpu/rust-gpu/compare/{{tag_name}}...HEAD" },
]
3 changes: 3 additions & 0 deletions examples/multibuilder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ use-compiled-tools = ["spirv-builder/use-compiled-tools"]

[dependencies]
spirv-builder.workspace = true

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/run-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ repository.workspace = true

[dependencies]
cargo-run-wasm = "0.3.2"

[package.metadata.release]
release = false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These shouldn't be needed as we already have publish = false?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cargo release doesn't respect publish = false unfortunately
(which feels like an oversight on their part?)

3 changes: 3 additions & 0 deletions examples/runners/ash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ shared = { path = "../../shaders/shared" }
spirv-builder = { workspace = true, default-features = false }
anyhow = "1.0.98"
bytemuck.workspace = true

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/runners/cpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ sky-shader = { path = "../../shaders/sky-shader" }

# for parallelism, not really needed though
rayon = "1.5"

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/runners/wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ web-sys = "0.3.78"
console_error_panic_hook = "0.1.7"
console_log = "1.0.0"
wasm-bindgen-futures = "0.4.51"

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/runners/wgpu/builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ use-compiled-tools = ["spirv-builder/use-compiled-tools"]

[dependencies]
spirv-builder.workspace = true

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/shaders/compute-shader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ spirv-std = { workspace = true }

[target.'cfg(not(target_arch = "spirv"))'.dependencies]
rayon = "1.5"

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/shaders/mouse-shader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ workspace = true
[dependencies]
shared = { path = "../../shaders/shared" }
spirv-std = { workspace = true }

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/shaders/reduce/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ workspace = true

[dependencies]
spirv-std = { workspace = true }

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/shaders/shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ workspace = true
[dependencies]
spirv-std = { workspace = true }
bytemuck = { version = "1.18.0", features = ["derive"] }

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/shaders/simplest-shader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ workspace = true
[dependencies]
spirv-std = { workspace = true }
shared = { path = "../shared" }

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions examples/shaders/sky-shader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ workspace = true
[dependencies]
shared = { path = "../../shaders/shared" }
spirv-std = { workspace = true }

[package.metadata.release]
release = false
8 changes: 8 additions & 0 deletions release.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# You should just need to run this to do a release of both crates:
# $ cargo release <minor|patch>

pre-release-commit-message = "Release {{version}}"
tag-message = "Release `{{crate_name}}` {{version}}"
tag-prefix = ""
allow-branch = ["main"]
shared-version = true
3 changes: 3 additions & 0 deletions tests/compiletests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ rustc_codegen_spirv = { workspace = true }
rustc_codegen_spirv-target-specs = { workspace = true, features = ["dir_path"] }
clap = { version = "4", features = ["derive"] }
itertools = "0.14.0"

[package.metadata.release]
release = false
3 changes: 3 additions & 0 deletions tests/compiletests/deps-helper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ repository.workspace = true

[dependencies]
spirv-std = { workspace = true }

[package.metadata.release]
release = false
6 changes: 5 additions & 1 deletion tests/difftests/bin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "difftests"
version.workspace = true
version = "0.0.0"
publish = false
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down Expand Up @@ -29,3 +30,6 @@ tabled = { version = "0.20.0", default-features = false, features = ["std"] }

[lints]
workspace = true

[package.metadata.release]
release = false
6 changes: 5 additions & 1 deletion tests/difftests/lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "difftest"
version.workspace = true
version = "0.0.0"
publish = false
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down Expand Up @@ -28,3 +29,6 @@ anyhow = "1.0.98"

[lints]
workspace = true

[package.metadata.release]
release = false
2 changes: 1 addition & 1 deletion tests/difftests/tests/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.