Cargo Features
pkg-macros has no features set by default.
[dependencies]
pkg-macros = { version = "3.0.0", features = ["build", "git"] }
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.
- git2 git?
-
Enables git2 ^0.11