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 whenever fbthrift-transport is added without default-features = false somewhere in the dependency tree.

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.

tokio impl_tokio
async-compat impl_tokio
async-io impl_async_io?

Enables async-io ^1