Cargo Features
[dependencies]
blinds = { version = "0.2.0", default-features = false, features = ["event-cache", "favicon", "gamepad"] }
- default = favicon, gamepad
-
These default features are set whenever
blinds
is added without
somewhere in the dependency tree.default-features = false - event-cache = enum-map, rustc-hash
-
Affects
blinds::event_cache
… - favicon default = image
- gamepad default = gilrs
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.
- enum-map event-cache?
-
Enables enum-map ^0.6.2
- gilrs gamepad
-
Enables gilrs ^0.7
- image favicon
-
Enables image ^0.22.3
Affects
settings::Settings.icon_path
… - rustc-hash event-cache?
-
Enables rustc-hash ^1.0