Cargo Features
[dependencies]
neli = { version = "0.7.0-rc2", default-features = false, features = ["sync", "async", "netfilter"] }
- default = sync
-
The
sync
feature is set by default wheneverneli
is added without
somewhere in the dependency tree.default-features = false - sync default = parking_lot
-
Affects
router::synchronous
,socket::synchronous
… - async = tokio
-
Affects
router::asynchronous
,socket::asynchronous
,utils::asynchronous
… - netfilter
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.