aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/Cargo.toml
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2026-01-12 02:09:41 -0600
committerGitHub <noreply@github.com>2026-01-12 02:09:41 -0600
commit1accbac964168af5fa0d87cb170389f0a9d01363 (patch)
tree1509b26c19beaa23a492289f6bf00d3958be44d5 /azalea-protocol/Cargo.toml
parent58339b9d229592dee40e15b8648fe4075cc391f4 (diff)
downloadazalea-drasl-1accbac964168af5fa0d87cb170389f0a9d01363.tar.xz
Make Bevy dependencies optional in azalea-protocol (#303)
* Make Bevy dependencies optional in azalea-protocol * derive serde traits on Direction again * update docs for types that may not have Component
Diffstat (limited to 'azalea-protocol/Cargo.toml')
-rw-r--r--azalea-protocol/Cargo.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/azalea-protocol/Cargo.toml b/azalea-protocol/Cargo.toml
index 5a321120..59991274 100644
--- a/azalea-protocol/Cargo.toml
+++ b/azalea-protocol/Cargo.toml
@@ -17,14 +17,13 @@ azalea-block.workspace = true
azalea-brigadier = { workspace = true, features = ["azalea-buf"] }
azalea-buf.workspace = true
azalea-chat = { workspace = true, features = ["numbers", "azalea-buf"] }
-azalea-core.workspace = true
+azalea-core = { workspace = true }
azalea-crypto = { workspace = true, features = ["signing"] }
-azalea-entity.workspace = true
+azalea-entity = { workspace = true }
azalea-inventory.workspace = true
azalea-protocol-macros.workspace = true
azalea-registry.workspace = true
-azalea-world.workspace = true
-bevy_ecs.workspace = true
+bevy_ecs = { workspace = true, optional = true }
# byteorder.workspace = true
flate2.workspace = true
futures.workspace = true
@@ -47,6 +46,7 @@ reqwest = { workspace = true, optional = true, features = ["socks"] }
default = ["online-mode"]
connecting = []
online-mode = ["azalea-auth/online-mode", "dep:reqwest"]
+bevy_ecs = ["dep:bevy_ecs", "azalea-entity/bevy_ecs", "azalea-core/bevy_ecs"]
[lints]
workspace = true