add supervisor
This commit is contained in:
parent
752c859fd7
commit
016350a480
4 changed files with 172 additions and 3 deletions
14
Cargo.toml
14
Cargo.toml
|
@ -7,8 +7,15 @@ edition = "2024"
|
|||
members = ["macros", "utils"]
|
||||
|
||||
[features]
|
||||
default = []
|
||||
cli = ["dep:clap", "dep:figment", "dep:tokio", "dep:color-eyre", "dep:num_cpus"]
|
||||
default = ["tokio"]
|
||||
cli = [
|
||||
"tokio/rt-multi-thread",
|
||||
"dep:clap",
|
||||
"dep:figment",
|
||||
"dep:color-eyre",
|
||||
"dep:num_cpus",
|
||||
]
|
||||
tokio = ["dep:tokio"]
|
||||
# Very long running.
|
||||
get_time_test = []
|
||||
|
||||
|
@ -47,7 +54,8 @@ slotmap = { version = "1.0.7", features = ["serde"] }
|
|||
|
||||
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 }
|
||||
tokio = { version = "1.47.1", features = ["rt", "sync", "macros"], optional = true }
|
||||
color-eyre = { version = "0.6.5", optional = true }
|
||||
eyre = { version = "0.6.12" }
|
||||
num_cpus = { version = "1.17.0", optional = true }
|
||||
either = "1.15.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue