[package]
edition = "2021"
rust-version = "1.83.0"
name = "libp2p-stream"
version = "0.4.0-alpha"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic stream protocols for libp2p"
readme = "README.md"
keywords = [
"peer-to-peer",
"libp2p",
"networking",
]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
[lib]
name = "libp2p_stream"
path = "src/lib.rs"
[[test]]
name = "lib"
path = "tests/lib.rs"
[dependencies.futures]
version = "0.3.30"
[dependencies.libp2p-core]
version = "0.43.1"
[dependencies.libp2p-identity]
version = "0.2.12"
features = ["peerid"]
[dependencies.libp2p-swarm]
version = "0.47.0"
[dependencies.rand]
version = "0.8"
[dependencies.tracing]
version = "0.1.41"
[dev-dependencies.libp2p-swarm-test]
version = "0.6.0"
[dev-dependencies.tokio]
version = "1.38"
features = ["full"]
default-features = false
[dev-dependencies.tracing-subscriber]
version = "0.3.19"
features = ["env-filter"]
[lints.clippy]
dbg_macro = "warn"
manual_let_else = "warn"
type_complexity = "allow"
unnecessary_wraps = "warn"
used_underscore_binding = "warn"
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.rust]
unreachable_pub = "warn"