Cargo Features

[dependencies]
hyprshot-rs = { version = "0.1.1", default-features = false, features = ["grim", "native"] }
default = grim

The grim feature is set by default whenever hyprshot-rs is added without default-features = false somewhere in the dependency tree.

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.

image native?
wayland-client native?
wayland-protocols native?