{"id":16189935,"url":"https://github.com/brson/cargo-crusader","last_synced_at":"2025-09-05T13:36:13.803Z","repository":{"id":35810793,"uuid":"40093257","full_name":"brson/cargo-crusader","owner":"brson","description":"Test the downstream impact of Rust crate changes before publishing","archived":false,"fork":false,"pushed_at":"2018-04-22T03:50:47.000Z","size":33,"stargazers_count":58,"open_issues_count":2,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-30T15:35:46.318Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-02T21:23:42.000Z","updated_at":"2024-08-02T03:07:38.000Z","dependencies_parsed_at":"2022-09-15T04:00:53.894Z","dependency_job_id":null,"html_url":"https://github.com/brson/cargo-crusader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brson/cargo-crusader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcargo-crusader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcargo-crusader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcargo-crusader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcargo-crusader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brson","download_url":"https://codeload.github.com/brson/cargo-crusader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcargo-crusader/sbom","scorecard":{"id":254892,"data":{"date":"2025-08-11","repo":{"name":"github.com/brson/cargo-crusader","commit":"3bf3709586210b8a2e5c575327f63d7187090d26"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":1,"reason":"Found 5/27 approved changesets -- score normalized to 1","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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2022-0013 / GHSA-m5pq-gvj9-9vr8","Warn: Project is vulnerable to: RUSTSEC-2022-0004 / GHSA-2226-4v3c-cff8","Warn: Project is vulnerable to: RUSTSEC-2025-0025","Warn: Project is vulnerable to: RUSTSEC-2020-0079 / GHSA-458v-4hrf-g3m4","Warn: Project is vulnerable to: RUSTSEC-2018-0017","Warn: Project is vulnerable to: RUSTSEC-2018-0015"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 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"}}]},"last_synced_at":"2025-08-17T09:24:48.742Z","repository_id":35810793,"created_at":"2025-08-17T09:24:48.742Z","updated_at":"2025-08-17T09:24:48.742Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273766740,"owners_count":25164430,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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-10-10T07:37:31.403Z","updated_at":"2025-09-05T13:36:13.769Z","avatar_url":"https://github.com/brson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cargo Crusader\n\nHark, Rust crate author! The battle for Rust's reputation as *The Most\nReliable Software Platform Ever* is here, and nobody is free of\nresponsibility. The future of Rust, dear Rustilian, is in your hands.\n\nJoin the **Cargo Crusade** and bring the [Theory of Responsible API\nEvolution][evo] to the non-believers.\n\nCargo Crusader is a tool to help crate authors evaluate the impact of\nfuture API changes on downstream users of that crate before they are\npublished to [crates.io].\n\n[evo]: https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md\n[crates.io]: http://crates.io\n[semver]: http://semver.org/\n\n# How?\n\nWhen you run `cargo-crusader` from the source directory of your\npublished crate, Crusader asks crates.io for all of its reverse\ndependencies - *published crates that DEPEND ON YOU*. It then\ndownloads each of them, and builds them: first against your crate as\ncurrently published, then against your local work-in-progress\n(i.e. the next version you are going to publish). It then reports\ndifferences in behavior.\n\n# Getting Started\n\n**IMPORTANT SECURITY WARNING: This program executes arbitrary\n  untrusted code downloaded from the Internet. You are strongly\n  recommended to take your own sandboxing precautions before running\n  it.**\n\nFirst, download and build Cargo Crusader, and put the `cargo-crusader`\ncommand in your `PATH` environment variable:\n\n```sh\n$ git clone https://github.com/brson/cargo-crusader\n$ cd cargo-crusader\n$ cargo build --release\n$ export PATH=$PATH:`pwd`/target/release/\n```\n\nNow change directories to your source and run `cargo-crusader`:\n\n```sh\n$ cargo-crusader\ncrusader: downloading reverse deps for hyper\ncrusader: 10 reverse deps\ncrusader: testing crate aloft\ncrusader: testing crate austenite\ncrusader: result 1 of 10, aloft 0.3.1: broken\ncrusader: testing crate bare\ncrusader: result 2 of 10, austenite 0.0.1: broken\ncrusader: testing crate catapult\ncrusader: result 3 of 10, bare 0.0.1: broken\ncrusader: testing crate chan\ncrusader: result 4 of 10, catapult 0.1.2: broken\ncrusader: testing crate chatbot\ncrusader: result 5 of 10, chan 0.1.14: passed\ncrusader: testing crate click_and_load\ncrusader: result 6 of 10, chatbot 0.2.2: regressed\ncrusader: testing crate coinbaser\ncrusader: result 7 of 10, click_and_load 0.0.1: broken\ncrusader: testing crate doapi\ncrusader: result 8 of 10, coinbaser 0.1.0: regressed\ncrusader: testing crate ease\ncrusader: result 9 of 10, doapi 0.1.0: broken\ncrusader: result 10 of 10, ease 0.2.1: regressed\n\npassed: 1\nregressed: 3\nbroken: 6\nerror: 0\n\nfull report: ./crusader-report.html\n```\n\nA full run will take quite a while. After its done it will print a\nsummary, as well as produce an HTML file containing the full results,\nincluding all the compiler output for each test.\n\nTests result in four possible statuses: 'passed', if the reverse\ndependency built both before and after the upgrade; 'regressed', if it\nbuilt before but not after; 'broken', if it didn't even build before\nupgrading; and 'error', for internal Crusader errors.\n\n# Future improvements\n\nPresently Crusader will override reverse dependencies with your local\nrevision *even if the version they requested is not semver compatible\nwith your work-in-progress*. Crusader might first verify whether or\nnot the WIP qualifies as a semver-valid upgrade.\n\nTesting upstream as well - Crusader could ask for all the WIP branches\nof your dependencies and then override your build to see if upcoming\nchanges are going to break your crate.\n\nSandboxing.\n\n# License\n\nMIT/Apache-2.0 is the official license of both The Rust Project and The Cargo Crusade.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrson%2Fcargo-crusader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrson%2Fcargo-crusader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrson%2Fcargo-crusader/lists"}