commit 5b006af60a2b97c35436c3815968d2d8c114c027
parent 7827d37441de4b1cf2e2eca54de0d6fc7bbac70e
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,14 +7,26 @@ rust-version = "1.88.0"
license = "AGPL-3.0"
description = "Radroots daemon binary"
-[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", "serde_json"] }
+[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", "serde_json"] }
+radroots-identity = { workspace = true }
+radroots-nostr = { workspace = true, features = ["client", "codec", "events", "http"] }
+radroots-runtime = { workspace = true, features = ["cli"] }
+radroots-trade = { workspace = true }
nostr = { version = "0.44.2", features = ["nip46"] }
anyhow = { version = "1" }