feat: add console-subscriber feature

This commit is contained in:
2025-02-27 20:03:27 -05:00
parent c1e4530358
commit f572aaf958
3 changed files with 324 additions and 24 deletions

View File

@@ -20,6 +20,7 @@ azalea = { git = "https://github.com/azalea-rs/azalea.git" }
bevy_app = "0"
bevy_log = "0"
clap = { version = "4", features = ["derive"] }
console-subscriber = { version = "0", optional = true }
futures = "0"
futures-locks = "0"
http-body-util = "0"
@@ -28,3 +29,6 @@ hyper-util = "0"
log = { version = "0" }
mlua = { version = "0", features = ["async", "luajit", "send"] }
tokio = { version = "1", features = ["macros"] }
[features]
console-subscriber = ["dep:console-subscriber"]