Cargo Features

neli = { version = "0.7.0-rc2", default-features = false, features = ["sync", "async", "netfilter"] }
default = sync

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

sync default = parking_lot

Affects router::synchronous, socket::synchronous

async = tokio

Affects router::asynchronous, socket::asynchronous, utils::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.

parking_lot sync
tokio async?