{"id":13478648,"url":"https://github.com/est31/cargo-udeps","last_synced_at":"2026-04-29T02:12:15.233Z","repository":{"id":35090446,"uuid":"204553191","full_name":"est31/cargo-udeps","owner":"est31","description":"Find unused dependencies in Cargo.toml","archived":false,"fork":false,"pushed_at":"2025-12-29T01:42:46.000Z","size":1102,"stargazers_count":2091,"open_issues_count":41,"forks_count":51,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-04-18T18:19:27.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/est31.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-08-26T20:10:57.000Z","updated_at":"2026-04-16T12:26:57.000Z","dependencies_parsed_at":"2023-10-13T09:01:48.792Z","dependency_job_id":"bd1c3ce9-9cec-4342-972e-46a4c8935856","html_url":"https://github.com/est31/cargo-udeps","commit_stats":{"total_commits":317,"total_committers":23,"mean_commits":"13.782608695652174","dds":0.2996845425867508,"last_synced_commit":"de8a7a7fb6acb6a772ef5af24d1c24060e786d39"},"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"purl":"pkg:github/est31/cargo-udeps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/est31%2Fcargo-udeps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/est31%2Fcargo-udeps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/est31%2Fcargo-udeps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/est31%2Fcargo-udeps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/est31","download_url":"https://codeload.github.com/est31/cargo-udeps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/est31%2Fcargo-udeps/sbom","scorecard":{"id":383146,"data":{"date":"2025-08-11","repo":{"name":"github.com/est31/cargo-udeps","commit":"74dbfaeea15c799456260ee8b396c07334537370"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Maintained","score":10,"reason":"12 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 2/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/est31/cargo-udeps/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/est31/cargo-udeps/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/est31/cargo-udeps/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:113: update your workflow using https://app.stepsecurity.io/secureworkflow/est31/cargo-udeps/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:116: update your workflow using https://app.stepsecurity.io/secureworkflow/est31/cargo-udeps/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:155: update your workflow using https://app.stepsecurity.io/secureworkflow/est31/cargo-udeps/ci.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:129","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.57 not signed: https://api.github.com/repos/est31/cargo-udeps/releases/230263896","Warn: release artifact v0.1.56 not signed: https://api.github.com/repos/est31/cargo-udeps/releases/222925438","Warn: release artifact v0.1.55 not signed: https://api.github.com/repos/est31/cargo-udeps/releases/201543535","Warn: release artifact v0.1.54 not signed: https://api.github.com/repos/est31/cargo-udeps/releases/194024696","Warn: release artifact v0.1.53 not signed: https://api.github.com/repos/est31/cargo-udeps/releases/188297773","Warn: release artifact v0.1.57 does not have provenance: https://api.github.com/repos/est31/cargo-udeps/releases/230263896","Warn: release artifact v0.1.56 does not have provenance: https://api.github.com/repos/est31/cargo-udeps/releases/222925438","Warn: release artifact v0.1.55 does not have provenance: https://api.github.com/repos/est31/cargo-udeps/releases/201543535","Warn: release artifact v0.1.54 does not have provenance: https://api.github.com/repos/est31/cargo-udeps/releases/194024696","Warn: release artifact v0.1.53 does not have provenance: https://api.github.com/repos/est31/cargo-udeps/releases/188297773"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T15:57:01.312Z","repository_id":35090446,"created_at":"2025-08-18T15:57:01.313Z","updated_at":"2025-08-18T15:57:01.313Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"online","status_checked_at":"2026-04-29T02:00:06.602Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07-31T16:01:59.828Z","updated_at":"2026-04-29T02:12:15.228Z","avatar_url":"https://github.com/est31.png","language":"Rust","funding_links":[],"categories":["Rust","Development tools","Programming Languages","others","Dependency \u0026 Supply Chain Security"],"sub_categories":["Build system"],"readme":"## cargo-udeps\n\n\n[![crates.io](https://img.shields.io/crates/v/cargo-udeps.svg)](https://crates.io/crates/cargo-udeps)\n[![dependency status](https://deps.rs/repo/github/est31/cargo-udeps/status.svg)](https://deps.rs/repo/github/est31/cargo-udeps)\n\nFind unused dependencies in Cargo.toml.\n\nWhile compilation of this tool also works on Rust stable,\nit needs Rust nightly to actually run.\nAs it includes `cargo` as a dependency, it will likely compile with the latest rustc release, as well as the one before it.\n\n### Installation\n\n#### GitHub Releases\n\n\u003chttps://github.com/est31/cargo-udeps/releases\u003e\n\n#### `cargo install` ([crates.io](https://crates.io/crates/cargo-udeps))\n\n```\ncargo install cargo-udeps --locked\n```\n\n#### `cargo install` ([`master`](https://github.com/est31/cargo-udeps/tree/master))\n\n```\ncargo install --git https://github.com/est31/cargo-udeps --locked\n```\n\n#### Dedicated packages\n\nSome package managers have packaged `cargo-udeps`:\n\n* Nix/Nix OS: `cargo-udeps`\n* Arch Linux: `pacman -S cargo-udeps`\n* Homebrew: `brew install cargo-udeps`\n\n### Usage\n\n```\ncargo +nightly udeps\n```\n\nIt either prints out a \"unused crates\" line listing the crates,\nor it prints out a line saying that no crates were unused.\n\n### pre-commit\n\nYou can use it as [pre-commit](https://pre-commit.com/) hook:\n\n```yaml\n- repo: https://github.com/est31/cargo-udeps\n  rev: v0.1.47\n  hooks:\n  - id: udeps\n```\n\n## Ignoring some of the dependencies\n\nTo ignore some of the dependencies, add `package.metadata.cargo-udeps.ignore` to `Cargo.toml`.\n\n```toml\n[package.metadata.cargo-udeps.ignore]\nnormal = [\"if_chain\"]\n#development = []\n#build = []\n\n[dependencies]\nif_chain = \"1.0.0\" # Used only in doc-tests, which `cargo-udeps` cannot check.\n```\n\nAlternatively, add dependencies to `workspace.metadata.cargo-udeps.ignore` in the\nworkpace `Cargo.toml` to ignore them in all packages in the workspace.\n\n## Known bugs\n\n* Some unused crates might not be detected.\n  This includes crates used by std and its dependencies as well as crates that\n  are already being used by dependencies of the studied crate.\n\n* Crates are currently only handled on a per name basis.\n  Two crates with the same name but different versions would be a problem.\n\n## Trophy case\n\nThis is a list of cases where unused dependencies were found using cargo-udeps.\nYou are welcome to expand it:\n\n* https://github.com/nushell/nushell/pull/519\n* https://github.com/servo/pathfinder/pull/236\n* https://github.com/oconnor663/shared_child.rs/commit/5929637f5cf1bebc5d608b4d98fd5c8a10626712\n* https://github.com/oconnor663/bao/commit/d216ee7c04e3587925dee68cce0b2a1ba44bc1d2\n* https://github.com/dabreegster/abstreet/commit/03b685673bebbc95e2bcbd7c85358547bcffe8c3\n* https://github.com/rust-lang/crater/pull/446\n* https://github.com/kodegenix/kg-tree/commit/0270ec495887cf0ff7580155db4ff12664614ee8\n* https://github.com/opereon/opereon/commit/4d29cf174c0b178c1484f698ceb0e654f95a78d0\n* https://github.com/djg/audioipc-2/commit/de0fc58cf1e87079027fce06b50eeffa6ae23d54\n* https://github.com/casey/just/pull/587\n* https://github.com/Garvys/rustfst/pull/76\n* https://github.com/yewstack/yew_router/pull/252\n* https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/169\n* https://github.com/hendrikmaus/helm-templexer/pull/85\n* https://github.com/itchysats/itchysats/commit/99076ecb907b3bfc5f31ffcdad9716df1869c8f7\n* https://github.com/isographlabs/isograph/commit/9da885db555c945d0cc3667e2a2aa94573cd8fc7\n\n### Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n### License\n[license]: #license\n\nThis tool is distributed under the terms of both the MIT license\nand the Apache License (Version 2.0), at your option.\n\nSee [LICENSE](LICENSE) for details.\n\n#### License of your contributions\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for\ninclusion in the work by you, as defined in the Apache-2.0 license,\nshall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fest31%2Fcargo-udeps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fest31%2Fcargo-udeps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fest31%2Fcargo-udeps/lists"}