Cargo Features

netservices = { version = "0.8.0", default-features = false, features = ["all", "eidolon", "reactor", "nonblocking", "log"] }
default = reactor, socket2

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

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, 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?

Enables mio ^0.8.11

socket2 default nonblocking?
log_crate log?

Enables log