aboutsummaryrefslogtreecommitdiff
path: root/azalea
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2025-11-30 21:04:12 -0600
committerGitHub <noreply@github.com>2025-11-30 21:04:12 -0600
commit6c110f2731c3893af397cc6a660f374ff705c99b (patch)
treed3441af29cf40b49d474fc04aa1f426ad4292fa0 /azalea
parent6930966aabf9b49fb6a0dc8b61076fa3f1abc298 (diff)
downloadazalea-drasl-6c110f2731c3893af397cc6a660f374ff705c99b.tar.xz
Add `online-mode` Cargo feature (#281)
* Add `online-mode` cargo feature * fix bad formatting in Cargo.toml
Diffstat (limited to 'azalea')
-rw-r--r--azalea/Cargo.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/azalea/Cargo.toml b/azalea/Cargo.toml
index b711d8a0..15627bc1 100644
--- a/azalea/Cargo.toml
+++ b/azalea/Cargo.toml
@@ -43,6 +43,7 @@ tokio.workspace = true
tracing.workspace = true
uuid.workspace = true
+
[dev-dependencies]
criterion.workspace = true
parking_lot = { workspace = true, features = ["deadlock_detection"] }
@@ -51,11 +52,12 @@ anyhow.workspace = true
bevy_log.workspace = true
[features]
-default = ["log", "serde", "packet-event"]
+default = ["log", "serde", "packet-event", "online-mode"]
# enables bevy_log::LogPlugin by default
log = ["azalea-client/log"]
serde = ["dep:serde", "azalea-registry/serde", "azalea-world/serde"]
packet-event = ["azalea-client/packet-event"]
+online-mode = ["azalea-client/online-mode"]
[[bench]]
name = "pathfinder"