Cargo Features
tokio-net has no features set by default.
[dependencies]
tokio-net = { version = "0.2.0-alpha.6", features = ["async-traits", "process", "signal", "tcp", "udp", "uds", "log"] }
- async-traits
- process = crossbeam-queue, libc, mio-named-pipes, signal
-
Enables util of tokio-io, handleapi, minwindef, processthreadsapi, synchapi, threadpoollegacyapiset, winbase, winerror and winnt of winapi
Affects
tokio-net::process
… - signal process? = libc, mio-uds, signal-hook-registry
-
Enables consoleapi, minwindef and wincon of winapi
Affects
tokio-net::signal
… - tcp = bytes, iovec
-
Affects
tokio-net::tcp
… - udp = bytes, futures-sink-preview
-
Affects
tokio-net::udp
… - uds = bytes, iovec, libc, mio-uds
-
Affects
tokio-net::uds
… - log
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.
- tracing log?
- bytes tcp? udp? uds?
-
Enables bytes ^0.4
TCP / UDP
- futures-sink-preview udp?
- iovec tcp? uds?
- crossbeam-queue unix process?
-
Enables crossbeam-queue ^0.1.2
- mio-named-pipes win process?
- signal-hook-registry unix signal?
- mio-uds unix signal? uds?
- winapi win process? signal?
- libc unix process? signal? uds?