MCPcopy Index your code
hub / github.com/EmbarkStudios/cargo-about

github.com/EmbarkStudios/cargo-about @0.9.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.9.1 ↗ · + Follow
199 symbols 682 edges 36 files 7 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

📜 cargo-about

Cargo plugin for generating a license listing for all dependencies of a crate

Embark Opensource Embark Discord Crates.io API Docs SPDX Version Minimum Stable Rust Version dependency status Build Status

See the book 📕 for in-depth documentation.

Please Note: This is a tool that we use (and like!) and it makes sense to us to release it as open source. However, we can’t take any responsibility for your use of the tool, if it will function correctly or fulfil your needs. No functionality in - or information provided by - cargo-about constitutes legal advice.

Getting started

Installing

From crates.io

cargo install --locked --features cli cargo-about

With cargo-update

# ~/.cargo/.install_config.toml
[cargo-about]
default_features = false
features = ["cli"]
enforce_lock = true

On Arch Linux

pacman -S cargo-about

Generate license information for your own project

# Generates `about.toml` and `about.hbs` in your cargo project
cargo about init
# Generate the license information with
cargo about generate about.hbs > license.html

Contributing

Contributor Covenant

We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Core symbols most depended-on inside this repo

template
called by 39
tests/utils/package.rs
build
called by 37
tests/utils/package.rs
assert
called by 32
tests/utils/cargo_about.rs
generate
called by 21
tests/utils/cargo_about.rs
iter
called by 18
src/licenses/resolution.rs
overview_count
called by 13
tests/utils/predicates.rs
licenses_count
called by 13
tests/utils/predicates.rs
license
called by 11
tests/utils/package.rs

Shape

Function 91
Method 61
Class 39
Enum 8

Languages

Rust100%

Modules by API surface

tests/utils/package.rs23 symbols
tests/cli/generate.rs21 symbols
src/lib.rs19 symbols
src/licenses.rs18 symbols
src/licenses/fetch.rs16 symbols
src/licenses/config.rs14 symbols
tests/utils/predicates.rs9 symbols
src/cargo-about/main.rs9 symbols
src/win_bindings.rs8 symbols
tests/utils/cargo_about.rs7 symbols
tests/cli/init.rs7 symbols
src/licenses/resolution.rs7 symbols

For agents

$ claude mcp add cargo-about \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact