Cargo Features
[dependencies]
notify-debouncer-mini = { version = "0.4.1", default-features = false, features = ["crossbeam", "serde"] }
- default = crossbeam
-
The
crossbeam
feature is set by default whenevernotify-debouncer-mini
is added without
somewhere in the dependency tree.default-features = false - crossbeam default = crossbeam-channel
-
can't use dep:crossbeam-channel and feature name crossbeam-channel below rust 1.60
Enables crossbeam-channel of notify
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.
- crossbeam-channel crossbeam
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework