aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory
diff options
context:
space:
mode:
authorEightFactorial <29801334+EightFactorial@users.noreply.github.com>2024-12-04 16:31:22 -0800
committerGitHub <noreply@github.com>2024-12-04 18:31:22 -0600
commit6379035b852f1b619565d27f5cee3b93042c2312 (patch)
tree30c858cfaf841d0fcc5a139f1507b9b67d768e8b /azalea-inventory
parent241c7527ce11177082dcc0ebc4152506946ee684 (diff)
downloadazalea-drasl-6379035b852f1b619565d27f5cee3b93042c2312.tar.xz
Update Bevy and migrate to workspace dependencies and package attributes (#181)
* Use workspace `Cargo.toml` for dependencies and package atributes * Fix a couple clippy warnings * Update bevy, update build script, move deps to workspace, and fix clippy warnings * Remove carrots from crate versions The default behavior is the same * Remove unused dependencies Compiles and all tests pass, so it should be fine * Update codegen to use `std::sync::LazyLock` instead of `once_cell::sync::Lazy` * Update Bevy to `0.15.0-rc.3` Surprisingly little needed to be changed * Update to bevy 0.15.0 * Fix leftover merge issues * Clarify the reason the swarm can't connect * Fix duplicate lint, remove `log` dependency
Diffstat (limited to 'azalea-inventory')
-rw-r--r--azalea-inventory/Cargo.toml23
-rw-r--r--azalea-inventory/azalea-inventory-macros/Cargo.toml12
2 files changed, 16 insertions, 19 deletions
diff --git a/azalea-inventory/Cargo.toml b/azalea-inventory/Cargo.toml
index 2c1b6fc2..9c9ddf20 100644
--- a/azalea-inventory/Cargo.toml
+++ b/azalea-inventory/Cargo.toml
@@ -1,20 +1,19 @@
[package]
-description = "Representations of various inventory data structures in Minecraft."
-edition = "2021"
-license = "MIT"
name = "azalea-inventory"
-repository = "https://github.com/azalea-rs/azalea/tree/main/azalea-inventory-macros"
-version = "0.10.3+mc1.21.4"
-
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+description = "Representations of various inventory data structures in Minecraft."
+version = { workspace = true }
+edition = { workspace = true }
+license = { workspace = true }
+repository = { workspace = true }
[dependencies]
-azalea-buf = { version = "0.10.0", path = "../azalea-buf" }
-azalea-chat = { version = "0.10.0", path = "../azalea-chat", features = [
+azalea-buf = { path = "../azalea-buf", version = "0.10.0" }
+azalea-chat = { path = "../azalea-chat", version = "0.10.0", features = [
"azalea-buf",
] }
-azalea-core = { version = "0.10.0", path = "../azalea-core" }
-azalea-inventory-macros = { version = "0.10.0", path = "./azalea-inventory-macros" }
-azalea-registry = { version = "0.10.0", path = "../azalea-registry" }
+azalea-core = { path = "../azalea-core", version = "0.10.0" }
+azalea-inventory-macros = { path = "./azalea-inventory-macros", version = "0.10.0" }
+azalea-registry = { path = "../azalea-registry", version = "0.10.0" }
+
simdnbt = { workspace = true }
uuid = { workspace = true }
diff --git a/azalea-inventory/azalea-inventory-macros/Cargo.toml b/azalea-inventory/azalea-inventory-macros/Cargo.toml
index 555d8612..5e850b3c 100644
--- a/azalea-inventory/azalea-inventory-macros/Cargo.toml
+++ b/azalea-inventory/azalea-inventory-macros/Cargo.toml
@@ -1,16 +1,14 @@
[package]
-description = "Internal macros for azalea-inventory."
-edition = "2021"
-license = "MIT"
name = "azalea-inventory-macros"
-repository = "https://github.com/azalea-rs/azalea/tree/main/azalea-inventory/azalea-inventory-macros"
-version = "0.10.3+mc1.21.4"
+description = "Internal macros for azalea-inventory."
+version = { workspace = true }
+edition = { workspace = true }
+license = { workspace = true }
+repository = { workspace = true }
[lib]
proc-macro = true
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
[dependencies]
proc-macro2 = { workspace = true }
quote = { workspace = true }