Cargo Features
[dependencies]
fbthrift-transport = { version = "0.10.0", default-features = false, features = ["impl_tokio", "impl_async_io"] }
- default = impl_tokio
-
The
impl_tokio
feature is set by default wheneverfbthrift-transport
is added without
somewhere in the dependency tree.default-features = false - impl_tokio default = async-compat, tokio
-
Enables impl_tokio of async-sleep
Affects
fbthrift-transport::impl_tokio
… - impl_async_io = async-io
-
Enables impl_async_io of async-sleep
Affects
fbthrift-transport::impl_async_io
…
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.