Cargo Features
[dependencies]
kcp-rs = { version = "0.2.4", default-features = false, features = ["conv", "stream", "udp"] }
- default = udp
-
The
udp
feature is set by default wheneverkcp-rs
is added without
somewhere in the dependency tree.default-features = false - conv udp = hashlink, parking_lot
-
Affects
kcp-rs::conv
… - stream udp = futures, futures-util, once_cell, pin-project, tokio, tokio-stream, tokio-util
-
Affects
kcp-rs::transport
,kcp-rs::stream
… - udp default = conv, stream
-
Affects
kcp-rs::udp
…
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.