Cargo Features

[dependencies]
git-cliff-core = { version = "2.3.0", default-features = false, features = ["repo", "github", "gitlab", "bitbucket", "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 ^0.18.3, 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, reqwest, reqwest-middleware, and tokio

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

gitlab

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

Enables futures, http-cache-reqwest, reqwest, reqwest-middleware, and tokio

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

bitbucket

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

Enables futures, http-cache-reqwest, reqwest, reqwest-middleware, and tokio

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

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

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