libp2p-tcp 0.42.0

TCP/IP transport protocol for libp2p
Documentation
[dependencies.async-io]
optional = true
version = "2.3.3"

[dependencies.futures]
version = "0.3.30"

[dependencies.futures-timer]
version = "3.0"

[dependencies.if-watch]
version = "3.2.0"

[dependencies.libc]
version = "0.2.155"

[dependencies.libp2p-core]
version = "0.42.0"

[dependencies.libp2p-identity]
version = "0.2.9"

[dependencies.socket2]
features = ["all"]
version = "0.5.7"

[dependencies.tokio]
default-features = false
features = ["net"]
optional = true
version = "1.38"

[dependencies.tracing]
version = "0.1.37"

[dev-dependencies.async-std]
features = ["attributes"]
version = "1.6.5"

[dev-dependencies.libp2p-identity]
features = ["rand"]
version = "0.2.9"

[dev-dependencies.tokio]
default-features = false
features = ["full"]
version = "1.38"

[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"

[features]
async-io = ["dep:async-io", "if-watch/smol"]
tokio = ["dep:tokio", "if-watch/tokio"]

[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"

[package]
authors = ["Parity Technologies <admin@parity.io>"]
categories = ["network-programming", "asynchronous"]
description = "TCP/IP transport protocol for libp2p"
edition = "2021"
keywords = ["peer-to-peer", "libp2p", "networking"]
license = "MIT"
name = "libp2p-tcp"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.75.0"
version = "0.42.0"

[package.metadata.docs.rs]
all-features = true