cargo-sponsor

Crates.iocargo-sponsor
lib.rscargo-sponsor
version2025.1.12-1
created_at2026-01-13 06:25:41.888215+00
updated_at2026-01-13 06:25:41.888215+00
descriptionFind sponsorship links for your Rust project's dependencies
homepage
repositoryhttps://github.com/nikhiljha/cargo-sponsor
max_upload_size
id2039459
size73,032
Nikhil Jha (nikhiljha)

documentation

README

cargo-sponsor

Find sponsorship links for your Rust project's dependencies.

Installation

cargo install cargo-sponsor

Usage

cargo sponsor

This will scan your project's dependencies and display a table of packages that have sponsorship links configured.

Options

  • --manifest-path <PATH> - Path to Cargo.toml (default: current directory)
  • --output <FORMAT> - Output format: rich (default) or json
  • --top-level-only - Only show direct dependencies

GitHub Token

For best results, set a GITHUB_TOKEN environment variable or have the GitHub CLI (gh) installed and authenticated. This enables fetching sponsor counts and FUNDING.yml information.

Example Output

💝 Sponsorable Dependencies

Found 5 projects you can support:

Package     Sponsors  Link
──────────  ────────  ────────────────────────────────────────
serde       42        https://github.com/sponsors/dtolnay
tokio       128       https://github.com/sponsors/tokio-rs
...

License

MIT

Commit count: 3

cargo fmt