nomad-protocol 0.2.0

NOMAD Protocol - Network-Optimized Mobile Application Datagram. A secure UDP-based state synchronization protocol.
Documentation
[dependencies.blake2]
optional = true
version = "0.10"

[dependencies.chacha20poly1305]
optional = true
version = "0.10"

[dependencies.hkdf]
optional = true
version = "0.12"

[dependencies.rand]
optional = true
version = "0.8"

[dependencies.sha2]
optional = true
version = "0.10"

[dependencies.snow]
optional = true
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
features = ["full"]
optional = true
version = "1"

[dependencies.x25519-dalek]
features = ["static_secrets"]
optional = true
version = "2"

[dependencies.zeroize]
features = ["derive"]
optional = true
version = "1"

[dependencies.zstd]
optional = true
version = "0.13"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros"]
version = "1"

[features]
client = ["transport"]
crypto = ["dep:snow", "dep:chacha20poly1305", "dep:blake2", "dep:sha2", "dep:hkdf", "dep:zeroize", "dep:rand", "dep:x25519-dalek"]
default = ["transport", "crypto", "sync", "extensions", "client", "server"]
extensions = ["dep:zstd"]
full = ["transport", "sync", "crypto", "extensions", "client", "server"]
server = ["transport"]
sync = []
transport = ["dep:tokio"]

[lib]
name = "nomad_protocol"
path = "src/lib.rs"

[package]
authors = ["The NOMAD Protocol Authors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "asynchronous", "cryptography"]
description = "NOMAD Protocol - Network-Optimized Mobile Application Datagram. A secure UDP-based state synchronization protocol."
documentation = "https://docs.rs/nomad-protocol"
edition = "2024"
homepage = "https://github.com/DanEscher98/nomad-rs"
keywords = ["protocol", "networking", "mobile", "udp", "sync"]
license = "MIT OR Apache-2.0"
name = "nomad-protocol"
readme = "README.md"
repository = "https://github.com/DanEscher98/nomad-rs"
rust-version = "1.85"
version = "0.2.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[profile.release]
codegen-units = 1
lto = true