Cargo Features

[dependencies]
git-cliff-core = { version = "2.2.1", default-features = false, features = ["repo", "github", "document-features"] }
default = repo

The repo feature is set by default whenever git-cliff-core is added without default-features = false somewhere in the dependency tree.

repo default

Enable parsing commits from a git repository. You can turn this off if you already have the commits to put in the changelog and you don't need git-cliff to parse them.

Enables git2, glob, and indexmap

Affects git-cliff-core::repo

github

Enable integration with GitHub.
You can turn this off if you don't use GitHub and don't want to make network requests to the GitHub API.

Enables futures, http-cache-reqwest ^0.13.0, reqwest ^0.11.27, reqwest-middleware ^0.2.5, and tokio

Affects commit::Commit.github, git-cliff-core::github, release::Release.github

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml