Cargo Features
[dependencies]
netservices = { version = "0.8.1", default-features = false, features = ["all", "eidolon", "reactor", "nonblocking", "log"] }
- default = reactor, socket2
-
These default features are set whenever
netservices
is added without
somewhere in the dependency tree.default-features = false - all = eidolon, log, mio, nonblocking, reactor
- eidolon all?
-
Enables eidolon and x25519 of cyphernet
Affects
session::EidolonSession
,session::CypherSession
,session::EidolonReader
,session::EidolonWriter
,session::CypherReader
,session::CypherWriter
… - reactor default all? = io-reactor, nonblocking
-
Affects
netservices::tunnel
… - nonblocking all? reactor = socket2
-
Affects
connection::NetConnection.connect_nonblocking
,connection::NetConnection.connect_reusable_nonblocking
,connection::NetConnection.set_tcp_keepalive
,listener::NetListener.bind_reusable
… - log all? = log_crate
-
Enables log of io-reactor
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.
- io-reactor log? reactor
-
Affects
netservices::resource
… - mio all?
- socket2 default nonblocking?
- log_crate log?
-
Enables log