aboutsummaryrefslogtreecommitdiffstats
path: root/cli/template/Cargo.toml
diff options
context:
space:
mode:
authormurilo ijanc2025-11-22 11:32:44 -0300
committermurilo ijanc2025-11-22 11:32:44 -0300
commit2c55d20a05981d8e7073a8c433a07f9f1dc08a54 (patch)
tree7729158b7a23fd3cb2ae8fde28fb0b87c0147bc6 /cli/template/Cargo.toml
parent70441f087263395b78bb70888bbb7de7574e4ff9 (diff)
downloadtemplates-2c55d20a05981d8e7073a8c433a07f9f1dc08a54.tar.gz
Add placeholder project-diagnosis possible choice is log or tracingHEADmain
Diffstat (limited to 'cli/template/Cargo.toml')
-rw-r--r--cli/template/Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/template/Cargo.toml b/cli/template/Cargo.toml
index 41f977e..984b550 100644
--- a/cli/template/Cargo.toml
+++ b/cli/template/Cargo.toml
@@ -30,8 +30,13 @@ all = { level = "warn", priority = -1 }
[dependencies]
anyhow = "=1.0.100"
clap = { version = "=4.5.53", features = ["derive"] }
+{% if project-diagnosis == "log" -%}
env_logger = "=0.11.8"
log = "=0.4.28"
+{% else -%}
+tracing = "=0.1.41"
+tracing-subscriber = { version = "=0.3.20", features = ["env-filter"] }
+{% endif %}
#
# profiles