2026-02-12 09:13:50 +00:00
|
|
|
[package]
|
|
|
|
|
name = "distribution"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2024"
|
|
|
|
|
|
2026-02-15 09:47:05 +00:00
|
|
|
[features]
|
2026-02-25 11:11:03 +00:00
|
|
|
default = []
|
2026-02-15 09:47:05 +00:00
|
|
|
iroh = ["dep:iroh", "dep:tokio"]
|
2026-02-19 14:39:33 +00:00
|
|
|
relay = ["iroh", "dep:iroh-relay"]
|
2026-02-15 09:47:05 +00:00
|
|
|
|
2026-02-12 09:13:50 +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-12 09:13:50 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
serde_json = "1"
|
2026-02-15 09:47:05 +00:00
|
|
|
iroh = { version = "0.96", optional = true }
|
2026-02-19 14:39:33 +00:00
|
|
|
iroh-relay = { version = "0.96", features = ["server"], optional = true }
|
2026-02-15 09:47:05 +00:00
|
|
|
tokio = { version = "1", features = ["rt-multi-thread"], optional = true }
|
2026-02-12 09:13:50 +00:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
serde_json = "1"
|
2026-02-19 14:39:33 +00:00
|
|
|
iroh-relay = { version = "0.96", features = ["server", "test-utils"] }
|
|
|
|
|
tokio = { version = "1", features = ["rt-multi-thread"] }
|