Cargo Features

[dependencies]
hannibal = { version = "0.12.0-rc.2", default-features = false, features = ["custom_runtime", "tokio", "async-std"] }
default = tokio

TODO: make tokio optional

custom_runtime

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 default

Affects spawn_strategy::TokioSpawner, actor::tests.spawned_with_tokio, service::Service, actor::build

async-std implicit feature

Enables async-std

async-std:

Async version of the Rust standard library

Affects spawn_strategy::AsyncStdSpawner, actor::tests.spawned_with_asyncstd, service::Service, actor::build