Cargo Features

[dependencies]
git-cinnabar = { version = "0.7.0-beta.2", default-features = false, features = ["curl-compat", "version-check", "self-update", "compile_commands", "gitdev"] }
default = version-check

The version-check feature is set by default whenever git-cinnabar is added without default-features = false somewhere in the dependency tree.

curl-compat = rustflags

libcurl.so compatibility (Linux only).

version-check default = shared_child

Check and report when a new version is available.

Affects version_check::VersionChecker, version::BUILD_BRANCH, version::BuildBranch

self-update = shared_child

Download and apply new versions.

Enables tar, xz2 and zip, Win32_System_Threading of windows-sys ^0.52

Affects version_check::check_new_version, version_check::find_version, version::BUILD_BRANCH, version::BuildBranch

compile_commands

Development features

Create compile_commands.json for IDE integration.

gitdev

Enable libgit development options.

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.

rustflags build curl-compat?
shared_child self-update? version-check