Cargo Features

pkg-macros has no features set by default.

[dependencies]
pkg-macros = { version = "3.0.0", features = ["build", "git"] }
build git?

Build script utilities.

git = build, git2

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