swactor/crates/datastore/Cargo.toml

50 lines
1.4 KiB
TOML

[package]
name = "swactor-datastore"
version = "0.1.0"
edition = "2024"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
[dependencies]
swactor = { path = "../..", features = ["serde", "transport"] }
distribution = { path = "../distribution" }
swactor-transport = { path = "../transport", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
blake3 = "1"
crossbeam-queue = "0.3.12"
tokio = { version = "1", features = ["rt", "sync", "io-util"] }
iroh = "0.96"
getrandom = "0.2"
tiny_http = { version = "0.12", optional = true }
clap = { version = "4", features = ["derive"], optional = true }
ureq = { version = "2", features = ["json"], optional = true }
ctrlc = { version = "3", optional = true }
toml = { version = "0.8", optional = true }
[dev-dependencies]
serde_json = "1"
proptest = "1"
proptest-state-machine = "0.3"
tempfile = "3"
distribution = { path = "../distribution" }
swactor = { path = "../.." }
ureq = { version = "2", features = ["json"] }
tiny_http = "0.12"
dashboard = { path = "../dashboard" }
stateright = "0.31"
[features]
node = ["dep:tiny_http", "dep:clap", "dep:ctrlc", "dep:toml"]
cli = ["dep:clap", "dep:ureq"]
[[bin]]
name = "swactor-store-node"
path = "src/bin/store_node.rs"
required-features = ["node"]
[[bin]]
name = "swactor-store"
path = "src/bin/store_cli.rs"
required-features = ["cli"]