Skip to content
cargo-feature-analyst is a tool written in rust to analyse the feature usage in your rust project.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src chore: rename crate to cargo-feature-analyst and provide crate as car… Mar 13, 2019
.gitignore Initial Commit Mar 9, 2019
Cargo.lock
Cargo.toml chore: update readme and descripttion Mar 13, 2019
LICENSE
README.md chore: update readme and descripttion Mar 13, 2019

README.md

cargo-feature-analyst

cargo-feature-analyst is a tool written in rust to analyse the feature usage in your rust project. It is provided as cargo subcommand.

It provides with a list of Enabled features in your dependency tree with names of crates enabling those features and a list of all the disabled features in your dependency tree.

Usage

USAGE:
cargo feature-analyst [FLAGS] [OPTIONS]

FLAGS:
        --all-features           Activate all available features
    -h, --help                   Prints help information
        --no-default-features    Do not activate the `default` feature
        --no-dev-dependencies    Skip dev dependencies.
    -V, --version                Prints version information

OPTIONS:
        --features <FEATURES>    Space-separated list of features to activate

Example Output

Enabled features
------------------

mycrate/default
mycrate/foo
dep1/default[mycrate]
dep1/bar [mycrate]
dep2/baz [mycrate]
dep3-1.0.0/qux [mycrate, dep1]
dep3-1.1.0/quazam [dep2]

Disabled features
-------------------

mycrate/z
dep2/default
dep2/y
dep3-1.0.0/default
dep3-1.0.0/x
dep3-1.1.0/default

Installation

cargo install cargo-feature-analyst
You can’t perform that action at this time.