Cargo Features

[dependencies]
nbio = { version = "0.6.1", default-features = false, features = ["http", "tcp", "websocket"] }
default = http, tcp, websocket

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

http default websocket = tcp

Enables chunked_transfer, http ^0.2.9, and httparse

Affects nbio::http

tcp default http websocket

Enables tcp-stream ^0.26.1

Affects nbio::tcp

websocket default = http, rand, tcp

Enables tungstenite ^0.21.0

Affects nbio::websocket

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.

rand websocket