diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-11-30 21:04:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-30 21:04:12 -0600 |
| commit | 6c110f2731c3893af397cc6a660f374ff705c99b (patch) | |
| tree | d3441af29cf40b49d474fc04aa1f426ad4292fa0 /azalea-client/Cargo.toml | |
| parent | 6930966aabf9b49fb6a0dc8b61076fa3f1abc298 (diff) | |
| download | azalea-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-client/Cargo.toml')
| -rw-r--r-- | azalea-client/Cargo.toml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/azalea-client/Cargo.toml b/azalea-client/Cargo.toml index 1dba73c1..a237804a 100644 --- a/azalea-client/Cargo.toml +++ b/azalea-client/Cargo.toml @@ -17,7 +17,7 @@ azalea-crypto.workspace = true azalea-entity.workspace = true azalea-inventory.workspace = true azalea-physics.workspace = true -azalea-protocol.workspace = true +azalea-protocol = { workspace = true, features = ["packets", "connecting"] } azalea-registry.workspace = true azalea-world.workspace = true bevy_app.workspace = true @@ -32,7 +32,7 @@ minecraft_folder_path.workspace = true parking_lot.workspace = true pastey.workspace = true regex.workspace = true -reqwest.workspace = true +reqwest = { workspace = true, optional = true } simdnbt.workspace = true thiserror.workspace = true tokio = { workspace = true, features = ["sync"] } @@ -43,10 +43,15 @@ uuid.workspace = true anyhow.workspace = true [features] -default = ["log", "packet-event"] +default = ["log", "packet-event", "online-mode"] # enables bevy_log::LogPlugin by default log = ["bevy_log"] packet-event = [] +online-mode = [ + "azalea-auth/online-mode", + "azalea-protocol/online-mode", + "dep:reqwest", +] [lints] workspace = true |
