[package]
name = "ant-protocol"
version = "2.0.2"
edition = "2021"
authors = ["MaidSafe Developers <dev@maidsafe.net>"]
description = "Wire protocol for the Autonomi decentralized network (WithAutonomi fork)"
license = "MIT OR Apache-2.0"
repository = "https://github.com/WithAutonomi/ant-protocol"
homepage = "https://autonomi.com"
readme = "README.md"
keywords = ["p2p", "decentralized", "quantum-safe", "post-quantum", "protocol"]
categories = ["network-programming", "cryptography"]
rust-version = "1.75"
[lib]
name = "ant_protocol"
path = "src/lib.rs"
[dependencies]
saorsa-core = "0.24.1"
saorsa-pqc = "0.5"
evmlib = "0.8.1"
blake3 = "1"
tokio = { version = "1.35", features = ["sync", "time", "rt"] }
serde = { version = "1", features = ["derive"] }
postcard = { version = "1.1.3", features = ["use-std"] }
rmp-serde = "1"
bytes = "1"
hex = "0.4"
tracing = { version = "0.1", optional = true }
[dev-dependencies]
alloy = { version = "1", features = ["node-bindings"] }
rand = "0.8"
url = "2"
xor_name = "5"
serial_test = "3"
tokio = { version = "1.35", features = ["full"] }
[features]
default = ["logging"]
logging = ["tracing"]
[lints.rust]
unsafe_code = "deny"
missing_docs = "warn"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
missing_const_for_fn = "allow"