Cargo Features
RTx has no features set by default.
[dependencies]
rtx = { version = "0.1.0", features = ["blocking", "async", "tokio", "async-std"] }
- blocking
-
Affects
address::ToSocketAddrs.to_socket_addrs_blocking
… - async async-std? tokio? = futures-core, futures-io, futures-util
-
Affects
rtx::task
,address::ToSocketAddrs.to_socket_addrs
… - tokio = async, tokio_
- async-std = async, async-io, async-std_
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.
- async-io async-std?
-
Enables async-io ^1.6.0
- futures-core async?
- futures-io async?
- futures-util async?
- async-std_ async-std?
-
Enables async-std
- tokio_ tokio?
-
Enables tokio