Cargo Features

[dependencies]
hannibal = { version = "0.10.0", default-features = false, features = ["runtime-tokio", "runtime-async-std", "tracing", "eyre", "anyhow"] }
default = anyhow, runtime-async-std

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

runtime-tokio

Enables tokio

Affects runtime::block_on

runtime-async-std default = async-std
tracing

Enables tracing of tokio

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.

eyre implicit feature

Enables eyre

eyre:

Flexible concrete Error Reporting type built on std::error::Error with customizable Reports

anyhow default
async-std runtime-async-std
tokio runtime-tokio? tracing?