Cargo Features
[dependencies]
git-grab = { version = "3.0.0", default-features = false, features = ["clipboard"] }
- default = clipboard
-
The
clipboard
feature is set by default whenevergit-grab
is added without
somewhere in the dependency tree.default-features = false - clipboard default
-
Ideally this would only be present on windows Requires target dependant features: https://github.com/rust-lang/cargo/issues/1197
Enables clipboard-win