2026-02-15 17:03:31 +00:00
|
|
|
[package]
|
|
|
|
|
name = "swactor-datastore"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2024"
|
|
|
|
|
|
2026-02-23 04:53:04 +00:00
|
|
|
[lints.rust]
|
|
|
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
|
|
|
|
|
|
2026-02-15 17:03:31 +00:00
|
|
|
[dependencies]
|
|
|
|
|
swactor = { path = "../..", features = ["serde", "transport"] }
|
refactor: remove dead code, consolidate files (#52)
Remove the unused TCP transport and dead CLI/simulation scaffolding and collapse scattered single-purpose modules into consolidated files across the dashboard, process, and simulation crates.
- crates/transport: drop the TCP transport (src/tcp.rs and its tcp feature), leaving only ed25519 identity and encoding utilities behind the iroh transport
- crates/dashboard: collapse actor_detail_html/actors_html/dashboard_html/topology_html into a single html.rs, drop command/parse.rs, and inline the trace types into lib.rs
- crates/process: fold driver, pipeline_types, queue, subscriber, waker, and local pipes/signal/wait into local/mod.rs, pipeline.rs, and a unified types.rs, consolidating the public re-exports
- crates/simulation: remove the ci subdirectory (local_sim, sim) and dead node/config/trace modules, and flatten the distribution subdirectory into top-level files
- crates/datastore: remove the unused store_cli, cli, and in-memory storage, and deduplicate crypto.rs across datastore and distribution (about 190 lines of shared code removed)
- crates/distribution: drop dead codec code and trim the messages module
Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-02-25 14:33:04 +00:00
|
|
|
swactor-transport = { path = "../transport" }
|
2026-02-15 17:03:31 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
serde_json = "1"
|
|
|
|
|
blake3 = "1"
|
2026-02-24 09:12:28 +00:00
|
|
|
crossbeam-queue = "0.3.12"
|
|
|
|
|
tokio = { version = "1", features = ["rt", "sync", "io-util"] }
|
2026-05-22 07:06:58 +00:00
|
|
|
iroh = "0.98"
|
2026-02-24 09:12:28 +00:00
|
|
|
getrandom = "0.2"
|
2026-02-23 04:53:04 +00:00
|
|
|
tiny_http = { version = "0.12", optional = true }
|
2026-02-15 17:03:31 +00:00
|
|
|
clap = { version = "4", features = ["derive"], optional = true }
|
|
|
|
|
ureq = { version = "2", features = ["json"], optional = true }
|
2026-02-23 04:53:04 +00:00
|
|
|
ctrlc = { version = "3", optional = true }
|
|
|
|
|
toml = { version = "0.8", optional = true }
|
2026-02-15 17:03:31 +00:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
serde_json = "1"
|
|
|
|
|
proptest = "1"
|
2026-02-23 04:53:04 +00:00
|
|
|
proptest-state-machine = "0.3"
|
2026-02-15 17:03:31 +00:00
|
|
|
tempfile = "3"
|
|
|
|
|
swactor = { path = "../.." }
|
|
|
|
|
ureq = { version = "2", features = ["json"] }
|
2026-02-23 04:53:04 +00:00
|
|
|
stateright = "0.31"
|
2026-02-15 17:03:31 +00:00
|
|
|
|
|
|
|
|
[features]
|
2026-02-24 09:12:28 +00:00
|
|
|
node = ["dep:tiny_http", "dep:clap", "dep:ctrlc", "dep:toml"]
|
|
|
|
|
cli = ["dep:clap", "dep:ureq"]
|
refactor: remove dead code, consolidate files (#52)
Remove the unused TCP transport and dead CLI/simulation scaffolding and collapse scattered single-purpose modules into consolidated files across the dashboard, process, and simulation crates.
- crates/transport: drop the TCP transport (src/tcp.rs and its tcp feature), leaving only ed25519 identity and encoding utilities behind the iroh transport
- crates/dashboard: collapse actor_detail_html/actors_html/dashboard_html/topology_html into a single html.rs, drop command/parse.rs, and inline the trace types into lib.rs
- crates/process: fold driver, pipeline_types, queue, subscriber, waker, and local pipes/signal/wait into local/mod.rs, pipeline.rs, and a unified types.rs, consolidating the public re-exports
- crates/simulation: remove the ci subdirectory (local_sim, sim) and dead node/config/trace modules, and flatten the distribution subdirectory into top-level files
- crates/datastore: remove the unused store_cli, cli, and in-memory storage, and deduplicate crypto.rs across datastore and distribution (about 190 lines of shared code removed)
- crates/distribution: drop dead codec code and trim the messages module
Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-02-25 14:33:04 +00:00
|
|
|
formal-verification = []
|
2026-02-23 04:53:04 +00:00
|
|
|
|
2026-02-15 17:03:31 +00:00
|
|
|
[[bin]]
|
|
|
|
|
name = "swactor-store"
|
|
|
|
|
path = "src/bin/store_cli.rs"
|
|
|
|
|
required-features = ["cli"]
|