chore: exclude p2p crate from workspace, slim tokio features
Move quicnprotochat-p2p to workspace.exclude so ~90 iroh-only dependencies are not compiled in the default build. Narrow tokio features from "full" to the subset actually used. The p2p crate now pins its own dependency versions since it is outside the workspace. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,9 +5,12 @@ members = [
|
||||
"crates/quicnprotochat-proto",
|
||||
"crates/quicnprotochat-server",
|
||||
"crates/quicnprotochat-client",
|
||||
"crates/quicnprotochat-p2p",
|
||||
"crates/quicnprotochat-gui",
|
||||
]
|
||||
# P2P-Crate (iroh-Transport) ist vom Default-Build ausgeschlossen,
|
||||
# um ~90 exklusive iroh-Dependencies nicht mitzukompilieren.
|
||||
# Quellcode bleibt im Repo für spätere Integration.
|
||||
exclude = ["crates/quicnprotochat-p2p"]
|
||||
|
||||
# Shared dependency versions — bump here to affect the whole workspace.
|
||||
[workspace.dependencies]
|
||||
@@ -41,7 +44,7 @@ capnp = { version = "0.19" }
|
||||
capnp-rpc = { version = "0.19" }
|
||||
|
||||
# ── Async / networking ────────────────────────────────────────────────────────
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time", "sync", "signal", "io-util", "io-std"] }
|
||||
tokio-util = { version = "0.7", features = ["codec", "compat"] }
|
||||
futures = { version = "0.3" }
|
||||
quinn = { version = "0.11" }
|
||||
|
||||
Reference in New Issue
Block a user