Cargo Features

built has no features set by default.

built = { version = "0.7.1", features = ["dependency-tree", "chrono", "git2", "semver"] }

Enables dependency-tree of cargo-lock

Affects dependencies::write_dependencies

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

chrono implicit feature

Enables chrono


Date and time library for Rust

git2 implicit feature

Affects git::get_repo_description, git::get_repo_head

semver implicit feature

Enables semver


Parser and evaluator for Cargo's flavor of Semantic Versioning

Affects util::parse_versions

cargo-lock dependency-tree?