added example

This commit is contained in:
Ultradesu
2026-07-10 15:10:03 +03:00
parent 057436adb6
commit a97f0a04b3
21 changed files with 4456 additions and 4 deletions
+13 -2
View File
@@ -1,13 +1,19 @@
[workspace]
resolver = "3"
members = ["crates/federation-net", "apps/federation-net-demo"]
members = [
"crates/federation-net",
"crates/artist-dht",
"apps/federation-net-demo",
"apps/artist-dht-cli",
]
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
rust-version = "1.85"
rust-version = "1.91"
[workspace.dependencies]
federation-net = { path = "crates/federation-net" }
iroh = "1"
iroh-base = "1"
iroh-tickets = "1"
@@ -15,11 +21,16 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"
serde = { version = "1", features = ["derive"] }
postcard = { version = "1", features = ["alloc"] }
blake3 = "1"
futures = "0.3"
uuid = { version = "1", features = ["v7"] }
unicode-normalization = "0.1"
rusqlite = { version = "0.40", features = ["bundled"] }
thiserror = "2"
tracing = "0.1"
clap = { version = "4", features = ["derive"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1"
rustyline = "18"
data-encoding = "2"
rand = "0.9"
tempfile = "3"