Cargo Features
[dependencies]
nbio = { version = "0.8.1", default-features = false, features = ["aeron", "crossbeam", "http", "mpsc", "tcp", "websocket", "mock"] }
- default = crossbeam, http, mock, mpsc, tcp, websocket
-
These default features are set whenever
nbio
is added without
somewhere in the dependency tree.default-features = false - aeron
-
Enables libaeron-sys
Affects
nbio::aeron
… - crossbeam default
-
Enables crossbeam-channel
Affects
nbio::crossbeam
… - http default websocket = tcp
-
Enables chunked_transfer, http ^0.2.9, and httparse
Affects
nbio::http
… - mpsc default
-
Affects
nbio::mpsc
… - tcp default http websocket = libc, mio
-
Enables tcp-stream ^0.26.1
Affects
nbio::tcp
… - websocket default = http, rand, tcp
-
Enables tungstenite ^0.21.0
Affects
nbio::websocket
… - mock default
-
Affects
nbio::mock
…
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.