[package]
edition = "2021"
rust-version = "1.74"
name = "uniudp"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unidirectional UDP transport with chunking, redundancy, and Reed-Solomon FEC."
homepage = "https://github.com/stephenberry/UniUDP"
documentation = "https://docs.rs/uniudp"
readme = "README.md"
keywords = [
"udp",
"networking",
"transport",
"fec",
"reliability",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/stephenberry/UniUDP"
[features]
default = []
tokio = ["dep:tokio"]
[lib]
name = "uniudp"
path = "src/lib.rs"
[[example]]
name = "auth_key_rotation"
path = "examples/auth_key_rotation.rs"
[[example]]
name = "basic_send_receive"
path = "examples/basic_send_receive.rs"
[[example]]
name = "fec_recovery"
path = "examples/fec_recovery.rs"
[[example]]
name = "multi_sender"
path = "examples/multi_sender.rs"
[[example]]
name = "tokio_send_receive"
path = "examples/tokio_send_receive.rs"
[[test]]
name = "protocol"
path = "tests/protocol.rs"
[[test]]
name = "stress_property"
path = "tests/stress_property.rs"
[[test]]
name = "tokio_async"
path = "tests/tokio_async.rs"
[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false
[dependencies.crc32c]
version = "0.6.8"
[dependencies.hmac]
version = "0.12"
[dependencies.mio]
version = "~1.1.1"
features = [
"os-poll",
"os-ext",
]
[dependencies.rand]
version = "0.9"
[dependencies.reed-solomon-erasure]
version = "6"
[dependencies.sha2]
version = "0.10"
[dependencies.subtle]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"net",
"time",
"rt",
"macros",
]
optional = true
[dependencies.zeroize]
version = "1"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.reed-solomon-erasure]
version = "6"