Cargo Features

tentacle = { version = "0.5.0-alpha.1", default-features = false, features = ["ws", "tls", "upnp", "secio-async-trait", "unstable", "openssl-vendored", "tokio-timer", "tokio-runtime", "async-timer", "async-runtime", "generic-timer", "wasm-timer", "parking_lot"] }
default = tokio-runtime, tokio-timer

These default features are set whenever tentacle is added without default-features = false somewhere in the dependency tree.

ws = tokio-tungstenite
tls = tokio-rustls

Affects config::TlsConfig

upnp = igd

Enables async-trait of tentacle-secio


Enables openssl-vendored of tentacle-secio

tokio-timer default = tokio-runtime

Related to runtime

Enables time of tokio, tokio-timer of tokio-yamux

tokio-runtime default tokio-timer

Enables io-util, net and rt-multi-thread of tokio

async-timer = async-runtime
async-runtime async-timer? = async-io, async-std

Enables generic-timer of tokio-yamux

generic-timer = futures-timer

Enables generic-timer of tokio-yamux


generic timer, this means that yamux can run under any runtime the difference of AsyncRead/AsyncWrite can be converted by tokio-util

wasm-timer = futures-timer

Enables wasm-bindgen of futures-timer and wasm of tokio-yamux


use futures-timer's wasm feature

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

parking_lot implicit feature

Enables parking_lot


More compact and efficient implementations of the standard synchronization primitives

tokio-tungstenite ws?

Enables tokio-tungstenite ^0.16

futures-timer generic-timer? wasm-timer?
async-std async-runtime?
async-io async-runtime?

Enables async-io ^1

igd upnp?

Enables igd


tokio-rustls tls?

Enables tokio-rustls ^0.24.0