Cargo Features
[dependencies]
rvideo = { version = "0.5.1", default-features = false, features = ["full", "async", "locking-default", "locking-rt", "locking-rt-safe"] }
- default = locking-default
-
The
locking-default
feature is set by default wheneverrvideo
is added without
somewhere in the dependency tree.default-features = false - full = async
- async full? = tokio
- locking-default default
-
Enables parking_lot, parking_lot of rtsc
- locking-rt
-
Enables parking_lot_rt
- locking-rt-safe
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.