# A nested workspace, deliberately. # # The root nigig-org workspace pins makepad to one rev and shares a lockfile # across ~60 crates. The engine crates here need none of that: they are pure # Rust with a small dependency set, and keeping them separate means # `cargo test` for p2p-intel does not build Makepad. `crates/apps/makepad_table` # sets the same precedent and the root Cargo.toml excludes it by name. [workspace] resolver = "2" members = [ ".", "crates/p2p-core", "crates/p2p-scanner", "crates/p2p-analyzer", "crates/p2p-alerter", "crates/p2p-tracker", "crates/p2p-cli", "crates/p2p-makepad", ] # The integration suite lives at the workspace root, so the root needs to be # a package for `tests/` to be picked up. [package] name = "p2p-intel" version = "0.1.0" edition = "2021" description = "Binance P2P spread intelligence: monitor, analyse, alert, track." [lib] path = "src/lib.rs" [dependencies] p2p-core = { path = "crates/p2p-core" } p2p-scanner = { path = "crates/p2p-scanner" } p2p-analyzer = { path = "crates/p2p-analyzer" } p2p-alerter = { path = "crates/p2p-alerter" } p2p-tracker = { path = "crates/p2p-tracker" } [workspace.dependencies] serde = { version = "1", features = ["derive"] } serde_json = "1" toml = "0.8" error_set = "0.9.1"