[package]
name = "iroh-willow"
version = "0.28.0"
edition = "2021"
readme = "README.md"
description = "willow protocol implementation for iroh"
license = "MIT/Apache-2.0"
authors = ["n0 team"]
repository = "https://github.com/n0-computer/iroh"
rust-version = "1.77"
[lints]
workspace = true
[dependencies]
anyhow = "1"
bytes = { version = "1.4", features = ["serde"] }
curve25519-dalek = { version = "4.1.3", features = [
"digest",
"rand_core",
"serde",
] }
derive_more = { version = "1.0.0", features = [
"debug",
"deref",
"display",
"from",
"try_into",
"into",
"as_ref",
"try_from",
] }
ed25519-dalek = { version = "2.0.0", features = ["serde", "rand_core"] }
either = "1.13.0"
futures-buffered = "0.2.6"
futures-concurrency = "7.6.0"
futures-lite = "2.3.0"
futures-util = "0.3.30"
genawaiter = "0.99.1"
hex = "0.4.3"
iroh-base = { version = "0.96" }
hemera = { package = "cyber-hemera", path = "../../hemera/rs" }
iroh-blobs = { version = "0.98" }
iroh-metrics = { version = "0.38", default-features = false, optional = true }
iroh = { version = "0.96" }
meadowcap = "0.1.0"
nested_enum_utils = "0.1.0"
postcard = { version = "1", default-features = false, features = [
"alloc",
"use-std",
"experimental-derive",
] }
irpc = { version = "0.12.0", default-features = false, features = [
"derive",
"stream",
"spans",
] }
rand = "0.8.5"
rand_core = "0.6.4"
redb = { version = "2.0.0" }
ref-cast = "1.0.23"
self_cell = "1.0.4"
serde = { version = "1.0.164", features = ["derive"] }
serde-error = "0.1.3"
sha2 = "0.10.8"
strum = { version = "0.26", features = ["derive"] }
syncify = "0.1.0"
thiserror = "1"
tokio = { version = "1", features = ["sync"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tokio-util = { version = "0.7", features = ["io-util", "io"] }
tracing = "0.1"
ufotofu = { version = "0.4.1", features = ["std"] }
willow-data-model = "0.1.0"
willow-encoding = "0.1.0"
willow-store = { git = "https://github.com/n0-computer/willow-store.git", branch = "main" }
zerocopy = { version = "0.7", features = ["derive"] }
zerocopy-derive = "0.7"
data-encoding = "2.6.0"
n0-future = "0.3"
[dev-dependencies]
iroh = { version = "0.96", features = ["test-utils"] }
rand_chacha = "0.3.1"
tokio = { version = "1", features = ["sync", "macros"] }
proptest = "1.2.0"
tempfile = "3.4"
testresult = "0.4.0"
test-strategy = "0.3.1"
tracing-subscriber = "0.3.18"
[features]
default = ["metrics"]
metrics = ["iroh-metrics/metrics"]