Cargo Features
[dependencies]
hyprshot-rs = { version = "0.1.1", default-features = false, features = ["grim", "native"] }
- default = grim
-
The
grim
feature is set by default wheneverhyprshot-rs
is added without
somewhere in the dependency tree.default-features = false - grim default
-
Affects
save::save_geometry_with_grim
… - native = image, wayland-client, wayland-protocols
-
Affects
save::save_geometry_with_native
…
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.