Cargo Features

built has no features set by default.

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

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

chrono:

Date and time library for Rust

git2 implicit feature

Affects git::get_repo_description, git::get_repo_head

semver implicit feature

Enables semver

semver:

Parser and evaluator for Cargo's flavor of Semantic Versioning

Affects util::parse_versions

cargo-lock dependency-tree?