Cargo Features

[dependencies]
worterbuch-client = { version = "1.3.0", default-features = false, features = ["tcp", "ws", "unix", "wasm", "futures-core"] }
default = tcp, unix

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

tcp default

Enables net of tokio

Affects worterbuch-client::tcp

ws = async-stream, tokio-tungstenite

Enables tokio, ws of worterbuch-common

Affects worterbuch-client::ws

unix default

Enables net of tokio

Affects worterbuch-client::unix

wasm = tokio, tokio-tungstenite-wasm

Enables getrandom, wasm of worterbuch-common

Affects worterbuch-client::ws

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.

tokio-tungstenite-wasm wasm?
tokio tcp unix wasm? ws?
async-stream ws?
futures-core implicit feature

Enables futures-core

futures-core:

The core traits and types in for the futures library

tokio-tungstenite ws?
getrandom wasm?