Cargo Features

Tote has no features set by default.

[dependencies]
tote = { version = "0.5.1", features = ["async"] }
default

Synchronous (threaded) Fetch trait used to retrieve data in the case of missing or expired cache data

async = async-trait

Asynchronous (tokio) AsyncFetch trait used to retrieve data in the case of missing or expired cache data Adds dependency for async-trait and tokio (for testing)

Affects tote::AsyncFetch, tote::AsyncFetch.fetch_async

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 async?