Cargo Features
[dependencies]
git-cinnabar = { version = "0.6.3", default-features = false, features = ["curl-compat", "version-check", "self-update", "compile_commands", "gitdev", "filetime"] }
- 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
-
libcurl.so compatibility (Linux only).
- version-check default = semver, shared_child
-
Check and report when a new version is available.
Affects
version_check::VersionChecker
… - self-update = semver, shared_child
-
Download and apply new versions.
Enables tar, xz2 and zip ^0.6, handleapi, processthreadsapi, synchapi and winbase of winapi
Affects
version_check::check_new_version
… - 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.
- filetime not win implicit feature
-
Enables filetime =0.2.16
filetime:
Platform-agnostic accessors of timestamps in File metadata
- semver self-update? version-check