[dependencies.async-io]
optional = true
version = "1.2.0"
[dependencies.futures]
version = "0.3.26"
[dependencies.futures-timer]
version = "3.0"
[dependencies.if-watch]
version = "3.0.0"
[dependencies.libc]
version = "0.2.80"
[dependencies.libp2p-core]
version = "0.39.0"
[dependencies.log]
version = "0.4.11"
[dependencies.socket2]
features = ["all"]
version = "0.4.0"
[dependencies.tokio]
default-features = false
features = ["net"]
optional = true
version = "1.19.0"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.6.5"
[dev-dependencies.env_logger]
version = "0.10.0"
[dev-dependencies.tokio]
default-features = false
features = ["full"]
version = "1.0.1"
[features]
async-io = ["dep:async-io", "if-watch/smol"]
tokio = ["dep:tokio", "if-watch/tokio"]
[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.60.0"
version = "0.39.0"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]