#cargo-subcommand #cargo #dependency-graph #chain #graph

app cargo-supply-chain

Gather author, contributor, publisher data on crates in your dependency graph

14 releases

0.3.1 Mar 18, 2022
0.3.0 Mar 18, 2022
0.2.0 May 21, 2021
0.1.2 Feb 24, 2021
0.0.2 Oct 15, 2020

#106 in Cargo plugins

Download history 3/week @ 2022-03-04 40/week @ 2022-03-11 208/week @ 2022-03-18 32/week @ 2022-03-25 10/week @ 2022-04-01 20/week @ 2022-04-08 9/week @ 2022-04-15 21/week @ 2022-04-22 41/week @ 2022-04-29 108/week @ 2022-05-06 293/week @ 2022-05-13 70/week @ 2022-05-20 92/week @ 2022-05-27 106/week @ 2022-06-03 8/week @ 2022-06-10 7/week @ 2022-06-17

216 downloads per month

Apache-2.0 OR MIT OR Zlib

58KB
1.5K SLoC

cargo-supply-chain

Gather author, contributor and publisher data on crates in your dependency graph.

Use cases include:

  • Find people and groups worth supporting.
  • Identify risks in your dependency graph.
  • An analysis of all the contributors you implicitly trust by building their software. This might have both a sobering and humbling effect.

Sample output when run on itself: publishers, crates, json.

Usage

To install this tool, please run the following command:

cargo install cargo-supply-chain

Then run it with:

cargo supply-chain publishers

By default the supply chain is listed for all targets and default features only.

You can alter this behavior by passing --target=… to list dependencies for a specific target. You can use --all-features, --no-default-features, and --features=… to control feature selection.

Here's a list of subcommands:

Gather author, contributor and publisher data on crates in your dependency graph

Usage: COMMAND [ARG]…

Available options:
    -h, --help      Prints help information
    -v, --version   Prints version information

Available commands:
    publishers  List all crates.io publishers in the depedency graph
    crates      List all crates in dependency graph and crates.io publishers for each
    json        Like 'crates', but in JSON and with more fields for each publisher
    update      Download the latest daily dump from crates.io to speed up other commands

Most commands also accept flags controlling the features, targets, etc.
See 'cargo supply-chain <command> --help' for more information on a specific command.

License

Triple licensed under any of Apache-2.0, MIT, or zlib terms.

Dependencies

~12–20MB
~458K SLoC