46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "nocontrol"
|
|
version.workspace = true
|
|
edition = "2024"
|
|
description = "No control is an early version of a distributed work-stealing orchestrator"
|
|
repository = "https://git.kjuulh.io/kjuulh/nocontrol"
|
|
readme = "../../README.md"
|
|
license-file = "../../LICENSE"
|
|
publish = true
|
|
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
rand.workspace = true
|
|
serde.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
uuid.workspace = true
|
|
|
|
async-trait = "0.1.89"
|
|
hex = "0.4.3"
|
|
jiff = { version = "0.2.17", features = ["serde"] }
|
|
serde_json = "1.0.148"
|
|
sha2 = "0.10.9"
|
|
tokio-util = "0.7.18"
|
|
|
|
tokio-postgres = { version = "0.7", optional = true, features = [
|
|
"with-uuid-1",
|
|
"with-serde_json-1",
|
|
"with-chrono-0_4",
|
|
] }
|
|
chrono = { version = "0.4", optional = true }
|
|
tokio-postgres-rustls = { version = "0.13", optional = true }
|
|
rustls = { version = "0.23", optional = true }
|
|
rustls-native-certs = { version = "0.8", optional = true }
|
|
|
|
|
|
[dev-dependencies]
|
|
insta = "1.46.0"
|
|
tracing-test = { version = "0.2.5", features = ["no-env-filter"] }
|
|
|
|
[features]
|
|
default = []
|
|
postgres = ["dep:tokio-postgres", "dep:chrono"]
|
|
postgres-tls = ["postgres", "dep:tokio-postgres-rustls", "dep:rustls", "dep:rustls-native-certs"]
|