Cargo Features

[dependencies]
repo_path = { version = "1.1.0", default-features = false, features = ["gitignore"] }
default = gitignore

The gitignore feature is set by default whenever repo_path is added without default-features = false somewhere in the dependency tree.

gitignore default

Enables git2

repo_path has 2 features without comments.