2026-09-21 18:05:42 +01:00
|
|
|
# The system level and its plugins are separate crates, so the boundary
|
|
|
|
|
# between them is checked by the compiler rather than by discipline: a plugin
|
|
|
|
|
# can reach only what the core makes public, and carries its own version.
|
|
|
|
|
[workspace]
|
|
|
|
|
resolver = "3"
|
|
|
|
|
members = ["crates/*"]
|
2026-09-22 18:08:26 +03:00
|
|
|
exclude = ["vendor/mainline"]
|
|
|
|
|
|
|
|
|
|
# Mainline 8.0.0 treats Windows UDP read timeouts as socket failures.
|
|
|
|
|
# Keep the small receive-loop correction reproducible until an upstream fix.
|
|
|
|
|
[patch.crates-io]
|
|
|
|
|
mainline = { path = "vendor/mainline" }
|
2026-09-21 18:05:42 +01:00
|
|
|
|
|
|
|
|
[workspace.package]
|
2026-09-21 00:10:07 +01:00
|
|
|
edition = "2024"
|
|
|
|
|
rust-version = "1.91"
|
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
repository = "https://github.com/tsunagi-net/tsunagi"
|
|
|
|
|
|
2026-09-21 18:05:42 +01:00
|
|
|
[workspace.lints.rust]
|
2026-09-21 00:10:07 +01:00
|
|
|
missing_docs = "warn"
|
|
|
|
|
unsafe_code = "forbid"
|
|
|
|
|
|
2026-09-21 18:05:42 +01:00
|
|
|
[workspace.lints.clippy]
|
2026-09-21 00:10:07 +01:00
|
|
|
unwrap_used = "warn"
|
|
|
|
|
expect_used = "warn"
|
|
|
|
|
panic = "warn"
|
2026-09-21 18:05:42 +01:00
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
|
|
|
|
iroh = { version = "1.2", default-features = false, features = ["tls-ring"] }
|
|
|
|
|
tokio = { version = "1.53", features = ["rt", "rt-multi-thread", "sync", "time", "macros"] }
|
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
|
postcard = { version = "1.1", default-features = false, features = ["use-std"] }
|
|
|
|
|
bytes = "1.12.1"
|
|
|
|
|
thiserror = "2.0"
|
|
|
|
|
tracing = "0.1"
|
|
|
|
|
hex = "0.4"
|
|
|
|
|
data-encoding = "2.11"
|
|
|
|
|
tempfile = "3.24"
|
|
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|