cargo-about-features

Crates.iocargo-about-features
lib.rscargo-about-features
version0.2.0
created_at2025-11-23 11:09:56.359269+00
updated_at2025-11-24 16:09:42.826096+00
descriptionA Cargo subcommand to list enabled features for dependencies.
homepage
repositoryhttps://github.com/Binlogo/cargo-about-features
max_upload_size
id1946405
size67,752
Binlogo (Binlogo)

documentation

README

cargo-about-features

A Cargo subcommand that generates a lock file (Cargo.features) listing the actually enabled features for all dependencies in your project.

Installation

cargo install cargo-about-features

Usage

Run the subcommand in your Cargo project directory:

cargo about-features

This will generate a Cargo.features file in the same directory.

Output Format

The output file Cargo.features is a TOML file where keys are package names (potentially with versions if collisions occur) and values are lists of enabled features.

Example Cargo.features:

serde = ["default", "derive", "std"]
tokio = ["default", "fs", "io-util", "net", "rt", "rt-multi-thread", "sync", "time"]
# ...

License

MIT

Commit count: 0

cargo fmt