{"id":13648687,"url":"https://github.com/onur/cargo-license","last_synced_at":"2026-02-22T19:01:13.410Z","repository":{"id":9650234,"uuid":"62893375","full_name":"onur/cargo-license","owner":"onur","description":"Cargo subcommand to see license of dependencies","archived":false,"fork":false,"pushed_at":"2024-02-25T13:21:09.000Z","size":93,"stargazers_count":422,"open_issues_count":11,"forks_count":37,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-09T19:49:56.261Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-08T14:10:14.000Z","updated_at":"2024-10-25T10:46:47.000Z","dependencies_parsed_at":"2024-01-14T10:59:34.507Z","dependency_job_id":"76e557f9-d0fd-42be-83a6-b26f09d3f266","html_url":"https://github.com/onur/cargo-license","commit_stats":{"total_commits":63,"total_committers":15,"mean_commits":4.2,"dds":0.7936507936507937,"last_synced_commit":"40e499290a47e602cbf82e26675a20a598d337d2"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onur%2Fcargo-license","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onur%2Fcargo-license/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onur%2Fcargo-license/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onur%2Fcargo-license/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onur","download_url":"https://codeload.github.com/onur/cargo-license/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223896472,"owners_count":17221441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:04:27.440Z","updated_at":"2025-10-21T13:09:31.291Z","avatar_url":"https://github.com/onur.png","language":"Rust","funding_links":[],"categories":["Rust","Development tools"],"sub_categories":["Build system"],"readme":"# cargo-license\n\n[![CI](https://github.com/onur/cargo-license/workflows/CI/badge.svg)](https://github.com/onur/cargo-license/actions?workflow=CI)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/onur/cargo-license/master/LICENSE)\n![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.86-red)\n\nA cargo subcommand to see license of dependencies.\n\n## Installation and Usage\n\nYou can install cargo-license with: `cargo install cargo-license` and\nrun it in your project directory with: `cargo license` or `cargo-license`.\n\n```\nCargo subcommand to see licenses of dependencies.\n\nUsage: cargo license [OPTIONS]\n\nOptions:\n  -a, --authors                    Display crate authors\n      --all-features               Activate all available features\n      --avoid-build-deps           Exclude build dependencies\n      --avoid-dev-deps             Exclude development dependencies\n      --avoid-proc-macros          Exclude `proc_macros` dependencies\n      --color \u003cWHEN\u003e               Coloring [default: auto] [possible values: auto, always, never]\n      --current-dir \u003cCURRENT_DIR\u003e  Current directory of the cargo metadata process\n  -d, --do-not-bundle              Output one license per line\n      --direct-deps-only           Output information only about the root package and don't fetch dependencies\n      --features \u003cFEATURE\u003e         Space-separated list of features to activate\n      --filter-platform \u003cTRIPLE\u003e   Only include resolve dependencies matching the given target-triple\n  -g, --gitlab                     Gitlab license scanner output\n  -j, --json                       Detailed output as JSON\n      --manifest-path \u003cPATH\u003e       Path to Cargo.toml\n      --no-default-features        Deactivate default features\n  -o, --output \u003cPATH\u003e              Output to file\n      --root-only                  Output information only about the root package\n  -t, --tsv                        Detailed output as tab-separated-values\n  -h, --help                       Print help\n```\n\n## Example\n\n`cargo-license` running inside the cargo-license project directory:\n\n![cargo-license](https://i.imgur.com/9KARkwP.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonur%2Fcargo-license","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonur%2Fcargo-license","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonur%2Fcargo-license/lists"}