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 whenevergit-cinnabar
is added without
somewhere in the dependency tree.default-features = false - 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?