#cargo #features #tree #show #format #expand #feature-tree

app cargo-feature-tree

cargo feature-tree shows your features, and what they expand to, in a tree-like format

5 releases

0.2.2 Aug 22, 2023
0.2.1 May 21, 2023
0.2.0 May 20, 2023
0.1.1 Jan 8, 2023
0.1.0 Jul 30, 2022

#309 in Cargo plugins

MIT license

5KB
53 lines

Cargo Feature Tree

List your features in a expanded and tree-like format

λ cargo feature-tree
zmix
├── PS_Signature_G1
├── PS_Signature_G2
├── asm
   └── std
       ├── ver_enc
       └── PS_Signature_G2
├── default
   └── std
       ├── ver_enc
       └── PS_Signature_G2
├── portable
   └── std
       ├── ver_enc
       └── PS_Signature_G2
├── std
   ├── ver_enc
   └── PS_Signature_G2
└── ver_enc
λ cargo feature-tree default
zmix
└── default
    └── std
        ├── ver_enc
        └── PS_Signature_G2

Installation

cargo install cargo-feature-tree

Usage

cargo feature-tree <FEATURE>

cargo feature-tree path-to-folder-containing-cargo.toml

cargo feature-tree path-to-explicit-cargo.toml

Dependencies

~0.7–1.3MB
~28K SLoC