implement basic cli app template
This commit is contained in:
parent
5ace79d1e6
commit
752c859fd7
5 changed files with 133 additions and 6 deletions
|
@ -8,6 +8,7 @@ members = ["macros", "utils"]
|
|||
|
||||
[features]
|
||||
default = []
|
||||
cli = ["dep:clap", "dep:figment", "dep:tokio", "dep:color-eyre", "dep:num_cpus"]
|
||||
# Very long running.
|
||||
get_time_test = []
|
||||
|
||||
|
@ -43,4 +44,10 @@ bytes = { version = "1.10.1", features = ["serde"] }
|
|||
url = { version = "2.5.4", features = ["serde"] }
|
||||
blake3 = "1.8.2"
|
||||
slotmap = { version = "1.0.7", features = ["serde"] }
|
||||
instant-acme = "0.7.2"
|
||||
|
||||
clap = { version = "4.5.47", features = ["derive"], optional = true }
|
||||
figment = { version = "0.10.19", features = ["json", "yaml", "env", "toml"], optional = true }
|
||||
tokio = { version = "1.47.1", features = ["rt", "rt-multi-thread"], optional = true }
|
||||
color-eyre = { version = "0.6.5", optional = true }
|
||||
eyre = { version = "0.6.12" }
|
||||
num_cpus = { version = "1.17.0", optional = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue