[package]
name = "litep2p"
description = "Peer-to-peer networking library"
license = "MIT"
version = "0.6.2"
edition = "2021"
[build-dependencies]
prost-build = "0.11"
[dependencies]
async-trait = "0.1.80"
bs58 = "0.4.0"
bytes = "1.4.0"
cid = "0.10.1"
ed25519-dalek = { version = "2.1.1", features = ["rand_core"] }
futures = "0.3.27"
futures-timer = "3.0.3"
hex-literal = "0.4.1"
indexmap = { version = "2.0.0", features = ["std"] }
libc = "0.2.142"
mockall = "0.12.1"
multiaddr = "0.17.0"
multihash = { version = "0.17.0", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] }
network-interface = "1.1.1"
parking_lot = "0.12.3"
pin-project = "1.1.0"
prost = "0.12.6"
quinn = { version = "0.9.3", default-features = false, features = ["tls-rustls", "runtime-tokio"] }
rand = { version = "0.8.0", features = ["getrandom"] }
rcgen = "0.10.0"
ring = "0.16.20"
serde = "1.0.158"
sha2 = "0.10.8"
simple-dns = "0.5.3"
smallvec = "1.13.2"
snow = { version = "0.9.3", features = ["ring-resolver"], default-features = false }
socket2 = { version = "0.5.7", features = ["all"] }
str0m = "0.5.1"
thiserror = "1.0.61"
tokio-stream = "0.1.12"
tokio-tungstenite = { version = "0.20.0", features = ["rustls-tls-native-roots"] }
tokio-util = { version = "0.7.11", features = ["compat", "io", "codec"] }
tokio = { version = "1.26.0", features = ["rt", "net", "io-util", "time", "macros", "sync", "parking_lot"] }
tracing = { version = "0.1.40", features = ["log"] }
trust-dns-resolver = "0.23.2"
uint = "0.9.5"
unsigned-varint = { version = "0.8.0", features = ["codec"] }
url = "2.4.0"
webpki = "0.22.4"
x25519-dalek = "2.0.0"
x509-parser = "0.16.0"
yasna = "0.5.0"
zeroize = "1.8.1"
nohash-hasher = "0.2.0"
static_assertions = "1.1.0"
[dependencies.rustls]
version = "0.20.7"
default-features = false
features = ["dangerous_configuration"]
[dev-dependencies]
asynchronous-codec = "0.7.0"
libp2p = { version = "0.51.4", features = [
"tokio",
"dns",
"identify",
"macros",
"mplex",
"noise",
"ping",
"tcp",
"kad",
"websocket",
"yamux",
"quic",
]}
quickcheck = "1.0.3"
rand_xorshift = "0.3.0"
sc-network = "0.31.0"
sc-utils = "13.0.0"
serde_json = "1.0.109"
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
futures_ringbuf = "0.4.0"
[features]
custom_sc_network = []
[profile.release]
debug = true