Cargo Features

[dependencies]
async-interval = { version = "0.3.1", default-features = false, features = ["std", "stream", "impl_tokio", "impl_async_timer", "impl_async_io"] }
default = std, stream

These default features are set whenever async-interval is added without default-features = false somewhere in the dependency tree.

std default

Affects async-interval::Intervalable.wait_for_std

stream default = futures-util

Affects async-interval::stream

impl_tokio = futures-util, tokio

Affects async-interval::impl_tokio

impl_async_timer = async-timer, futures-util

Affects async-interval::impl_async_timer

impl_async_io = async-io, futures-util

Affects async-interval::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.

futures-util impl_async_io? impl_async_timer? impl_tokio? stream
tokio impl_tokio?
async-timer impl_async_timer?
async-io impl_async_io?

Enables async-io ^1