Cargo Features

integer-encoding has no features set by default.

[dependencies]
integer-encoding = { version = "4.0.2", features = ["tokio_async", "futures_async"] }
tokio_async = async-trait, tokio

Enable one of these features if you want to use the AsyncRead/AsyncWrite traits from the futures crate instead of those from tokio.

Affects reader::VarIntAsyncReader, reader::FixedIntAsyncReader, writer::VarIntAsyncWriter, writer::FixedIntAsyncWriter

futures_async = async-trait, futures-util

Affects reader::VarIntAsyncReader, reader::FixedIntAsyncReader, writer::VarIntAsyncWriter, writer::FixedIntAsyncWriter

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-trait futures_async? tokio_async?
tokio tokio_async?
futures-util futures_async?