Cargo Features

[dependencies]
eventbuzz = { version = "0.2.2", default-features = false, features = ["synchronous", "asynchronous"] }
default = synchronous

The synchronous feature is set by default whenever eventbuzz is added without default-features = false somewhere in the dependency tree.

synchronous default

Affects eventbuzz::sync

asynchronous = async-trait, tokio

Affects eventbuzz::asynchronous

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