aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/Cargo.toml
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-protocol/Cargo.toml
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-protocol/Cargo.toml')
-rw-r--r--azalea-protocol/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-protocol/Cargo.toml b/azalea-protocol/Cargo.toml
index 1ab25a12..4128faae 100644
--- a/azalea-protocol/Cargo.toml
+++ b/azalea-protocol/Cargo.toml
@@ -43,9 +43,10 @@ uuid.workspace = true
indexmap.workspace = true
[features]
+default = ["packets", "online-mode"]
connecting = []
-default = ["packets"]
packets = ["connecting", "dep:azalea-core"]
+online-mode = ["azalea-auth/online-mode"]
[lints]
workspace = true