mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-01 16:37:53 -04:00
feat: make tracing
a crate feature and make it a default feature of the current crates
This commit is contained in:
@@ -9,6 +9,10 @@ authors = { workspace = true }
|
||||
license = { workspace = true }
|
||||
repository = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["tracing"]
|
||||
tracing = ["dep:tracing"]
|
||||
|
||||
[dependencies]
|
||||
clap = { workspace = true, features = ["derive", "env"] }
|
||||
tracing = { workspace = true }
|
||||
tracing = { workspace = true, optional = true }
|
||||
|
@@ -10,11 +10,12 @@ license = { workspace = true }
|
||||
repository = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["cli-clap"]
|
||||
default = ["cli-clap", "tracing"]
|
||||
cli-clap = ["dep:ac-qu-ai-nt-cli-clap"]
|
||||
tracing = ["dep:tracing-subscriber", "ac-qu-ai-nt-cli-clap?/tracing"]
|
||||
|
||||
[dependencies]
|
||||
ac-qu-ai-nt-cli-clap = { version = "0.0.3", path = "../cli-clap", optional = true }
|
||||
clap = { workspace = true, features = ["derive", "env"] }
|
||||
dirs-next = "2.0.0"
|
||||
tracing-subscriber = "0.3.18"
|
||||
tracing-subscriber = { version = "0.3.18", optional = true }
|
||||
|
Reference in New Issue
Block a user