Cargo Features
broker-tokio has no features set by default.
[dependencies]
broker-tokio = { version = "0.2.16", features = ["full", "blocking", "dns", "fs", "io-driver", "io-util", "io-std", "macros", "net", "process", "rt-core", "rt-util", "rt-threaded", "signal", "stream", "sync", "tcp", "time", "udp", "uds", "test-util"] }
- default
-
Include nothing by default
- full = blocking, dns, fs, io-driver, io-std, io-util, macros, net, process, rt-core, rt-threaded, rt-util, signal, stream, sync, time
-
enable everything
- blocking full? = rt-core
- dns full? net? = rt-core
- fs full? = rt-core
- io-driver full? process? signal? tcp? udp? uds? = lazy_static, mio
- io-util full? = memchr
- io-std full? = rt-core
-
stdin, stdout, stderr
- macros full? = tokio-macros
- net full? = dns, tcp, udp, uds
- process full? = io-driver, libc, mio-named-pipes, signal
-
Enables consoleapi, minwindef, threadpoollegacyapiset and winerror of winapi
- rt-core blocking? dns? fs? full? io-std? rt-threaded?
-
Includes basic task execution capabilities
- rt-util full?
- rt-threaded full? = num_cpus, rt-core
- signal full? process? = io-driver, lazy_static, libc, mio-uds, signal-hook-registry
-
Enables consoleapi and minwindef of winapi
- stream full? = futures-core
- sync full? = fnv
- tcp net? = io-driver, iovec
- time full? = slab
- udp net? = io-driver
- uds net? = io-driver, libc, mio-uds
- test-util
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.
- tokio-macros macros?
-
Enables tokio-macros ^0.2.3
- fnv sync?
-
Enables fnv
Everything else is optional...
- futures-core stream?
- lazy_static io-driver? signal?
- memchr io-util?
- mio io-driver?
-
Enables mio ^0.6.20
- iovec tcp?
- num_cpus rt-threaded?
- slab time?
-
Enables slab
Backs
DelayQueue
- mio-named-pipes win process?
- signal-hook-registry unix signal?
- mio-uds unix signal? uds?
- winapi win process? signal?
- libc unix process? signal? uds?