tentacle 0.4.2

Minimal implementation for a multiplexed p2p network framework.
Documentation
[dependencies.async-io]
optional = true
version = "1"

[dependencies.async-std]
features = ["unstable"]
optional = true
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.0.0"

[dependencies.futures]
version = "0.3.0"

[dependencies.futures-timer]
optional = true
version = "3.0.2"

[dependencies.igd]
optional = true
version = "0.12"

[dependencies.log]
version = "0.4"

[dependencies.molecule]
version = "0.7.0"

[dependencies.multiaddr]
package = "tentacle-multiaddr"
version = "0.3.0"

[dependencies.nohash-hasher]
version = "0.2"

[dependencies.once_cell]
version = "1.0"

[dependencies.parking_lot]
optional = true
version = "0.12"

[dependencies.secio]
package = "tentacle-secio"
version = "0.5.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
features = ["macros"]
version = "1.0.0"

[dependencies.tokio-rustls]
optional = true
version = "0.23.0"

[dependencies.tokio-tungstenite]
optional = true
version = "0.16"

[dependencies.tokio-util]
features = ["codec"]
version = "0.7.0"

[dependencies.yamux]
default-features = false
package = "tokio-yamux"
version = "0.3.0"
[dev-dependencies.crossbeam-channel]
version = "0.5"

[dev-dependencies.env_logger]
version = "0.6.0"

[dev-dependencies.futures-test]
version = "0.3.5"

[dev-dependencies.rustls-pemfile]
version = "1"

[dev-dependencies.systemstat]
version = "0.1.3"

[features]
async-runtime = ["async-std", "async-io", "yamux/generic-timer"]
async-timer = ["async-runtime"]
default = ["tokio-runtime", "tokio-timer"]
generic-timer = ["futures-timer", "yamux/generic-timer"]
openssl-vendored = ["secio/openssl-vendored"]
tls = ["tokio-rustls"]
tokio-runtime = ["tokio/io-util", "tokio/net", "tokio/rt-multi-thread"]
tokio-timer = ["yamux/tokio-timer", "tokio/time", "tokio-runtime"]
unstable = []
upnp = ["igd"]
wasm-timer = ["futures-timer", "yamux/wasm", "futures-timer/wasm-bindgen"]
ws = ["tokio-tungstenite"]

[package]
authors = ["piaoliu <driftluo@foxmail.com>", "Nervos Core Dev <dev@nervos.org>"]
categories = ["network-programming", "asynchronous"]
description = "Minimal implementation for a multiplexed p2p network framework."
edition = "2021"
keywords = ["network", "peer-to-peer"]
license = "MIT"
name = "tentacle"
readme = "README.md"
repository = "https://github.com/nervosnetwork/tentacle"
version = "0.4.2"
[package.metadata.docs.rs]
all-features = false
features = ["tokio-runtime", "tokio-timer", "upnp", "ws", "unstable", "tls"]
no-default-features = true
rustc-args = ["--cfg", "docsrs"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.rand]
version = "0.8"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.socket2]
features = ["all"]
version = "0.4.0"
[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
version = "0.3"

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
version = "0.2"

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
version = "0.4"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dev-dependencies.nix]
default-features = false
features = ["signal"]
version = "0.24.1"
[target."cfg(windows)".dependencies.winapi]
features = ["minwindef", "ws2def", "winerror", "heapapi"]
version = "0.3.7"