commit 937182ebfecfec3db08587e877d7e54477bad23d
parent caff283652197241206dfeb4bfaacf0a40761029
Author: triesap <tyson@radroots.org>
Date: Sun, 15 Feb 2026 17:24:20 +0000
deps: move radroots deps to workspace inheritance
- add local workspace section for shared radroots dependency sources
- replace direct radroots path dependencies with workspace true entries
- keep existing feature flags on inherited radroots dependencies
- preserve current runtime behavior while normalizing manifest structure
Diffstat:
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -7,15 +7,27 @@ rust-version = "1.88.0"
license = "AGPL-3.0"
description = "Rhizome Nostr data vending machine (NIP-90)"
-[dependencies]
-radroots-core = { path = "../../../../vendor/radroots/rs/crates/core", features = ["std", "serde", "typeshare"] }
-radroots-events = { path = "../../../../vendor/radroots/rs/crates/events", features = ["serde"] }
-radroots-events-codec = { path = "../../../../vendor/radroots/rs/crates/events-codec", features = ["nostr"] }
+[workspace]
+resolver = "2"
+
+[workspace.dependencies]
+radroots-core = { path = "../../../../vendor/radroots/rs/crates/core" }
+radroots-events = { path = "../../../../vendor/radroots/rs/crates/events" }
+radroots-events-codec = { path = "../../../../vendor/radroots/rs/crates/events-codec" }
radroots-identity = { path = "../../../../vendor/radroots/rs/crates/identity" }
-radroots-nostr = { path = "../../../../vendor/radroots/rs/crates/nostr", features = ["client", "codec", "events", "http"] }
-radroots-runtime = { path = "../../../../vendor/radroots/rs/crates/runtime", features = ["cli"] }
+radroots-nostr = { path = "../../../../vendor/radroots/rs/crates/nostr" }
+radroots-runtime = { path = "../../../../vendor/radroots/rs/crates/runtime" }
radroots-trade = { path = "../../../../vendor/radroots/rs/crates/trade" }
+[dependencies]
+radroots-core = { workspace = true, features = ["std", "serde", "typeshare"] }
+radroots-events = { workspace = true, features = ["serde"] }
+radroots-events-codec = { workspace = true, features = ["nostr"] }
+radroots-identity = { workspace = true }
+radroots-nostr = { workspace = true, features = ["client", "codec", "events", "http"] }
+radroots-runtime = { workspace = true, features = ["cli"] }
+radroots-trade = { workspace = true }
+
anyhow = { version = "1" }
clap = { version = "4", features = ["derive"] }
jsonrpsee = { version = "0.26", features = ["server"] }