Cargo Features

[dependencies]
git-cliff-core = { version = "2.7.0", default-features = false, features = ["repo", "remote", "github", "gitlab", "bitbucket", "gitea", "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

remote bitbucket? gitea? github? gitlab?

Enable integration with remote repositories.

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

Affects git-cliff-core::remote

github = remote

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.

Affects commit::Commit.github, release::Release.github, remote::github

gitlab = remote

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.

Affects commit::Commit.gitlab, release::Release.gitlab, remote::gitlab

bitbucket = remote

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.

Affects commit::Commit.bitbucket, release::Release.bitbucket, remote::bitbucket

gitea = remote

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

Affects commit::Commit.gitea, release::Release.gitea, remote::gitea

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

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