Cargo Features

[dependencies]
hey_listen = { version = "0.5.0", default-features = false, features = ["async", "parallel", "blocking"] }
default = async, parallel

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

async default = async-trait, futures, parking_lot, tokio

Provides a Tokio-driven dispatcher.

Affects sync::async_dispatcher, sync::AsyncDispatchResult, sync::AsyncListener, hey_listen::sync

parallel default = parking_lot, rayon

Provides a Rayon-driven dispatcher.

Affects hey_listen::Error, sync::parallel_dispatcher, sync::priority_dispatcher, sync::PriorityDispatcherResult, sync::Listener, sync::ParallelDispatchResult, sync::ParallelListener, sync::PriorityListener, hey_listen::sync

blocking

Provides a local-Thread-driven dispatcher.

Affects hey_listen::rc

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
futures async
rayon parallel
tokio async
parking_lot async parallel

Enables parking_lot ^0.11