Cargo Features
[dependencies]
message-io = { version = "0.18.2", default-features = false, features = ["tcp", "udp", "websocket"] }
- default = tcp, udp, websocket
-
All features by default
- tcp default websocket = socket2
-
mio:
Enables
mio::net
module containing networking primitives.Affects
adapters::tcp
,adapters::framed_tcp
… - udp default = socket2
-
Affects
adapters::udp
… - websocket default = tcp, tungstenite, url
-
Affects
adapters::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.