50 lines
1.4 KiB
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" }
|
|
shared-types = { path = "../shared-types" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
blake3 = "1"
|
|
tokio = { version = "1", features = ["rt"] }
|
|
swactor-streams = { path = "../streams" }
|
|
tiny_http = { version = "0.12", optional = true }
|
|
clap = { version = "4", features = ["derive"], optional = true }
|
|
ureq = { version = "2", features = ["json"], optional = true }
|
|
getrandom = { version = "0.2", optional = true }
|
|
ctrlc = { version = "3", optional = true }
|
|
dashboard = { path = "../dashboard" }
|
|
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", "dep:getrandom"]
|
|
|
|
[[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"]
|