{"id":22963986,"url":"https://github.com/jnaulty/cargo-diff","last_synced_at":"2026-05-18T02:09:16.518Z","repository":{"id":52246440,"uuid":"319757373","full_name":"jnaulty/cargo-diff","owner":"jnaulty","description":"Security Review Utility to help highlight risk signals in reviews of dependency updates.","archived":false,"fork":false,"pushed_at":"2020-12-22T07:47:02.000Z","size":22,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T03:46:39.413Z","etag":null,"topics":["dependency-analysis","rust","security","supply-chain"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jnaulty.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":"2020-12-08T20:48:44.000Z","updated_at":"2021-10-11T05:50:58.000Z","dependencies_parsed_at":"2022-08-30T19:50:11.054Z","dependency_job_id":null,"html_url":"https://github.com/jnaulty/cargo-diff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jnaulty/cargo-diff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnaulty%2Fcargo-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnaulty%2Fcargo-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnaulty%2Fcargo-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnaulty%2Fcargo-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jnaulty","download_url":"https://codeload.github.com/jnaulty/cargo-diff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnaulty%2Fcargo-diff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278686631,"owners_count":26028326,"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-10-06T02:00:05.630Z","response_time":65,"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":["dependency-analysis","rust","security","supply-chain"],"created_at":"2024-12-14T19:42:54.016Z","updated_at":"2025-10-06T21:59:10.264Z","avatar_url":"https://github.com/jnaulty.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cargo Diff Utility\n\nQuickly generate diffs from one version of a cargo crate to another.\n\nShamelessly adopted from @mimoo's [gist](https://gist.github.com/mimoo/fb88d33889d236d937fa1c6946698341)\n\n## Quick Setup\n\n### Build\n\n**Docker**\n- run `make build`\n\n### Running\n\n**Diff between two versions of a crate from crates.io**\n- run `./create-cratesio-diff.sh {crate_name} {version_1} {version_2}` (e.g. `./create-cratesio-diff.sh tokio 0.2.22 0.3.4`)\n\n**Diff between git repo and crates.io package tar archive at a specific version**\n- run `./create-git-crate-diff.sh \u003ccrate_name\u003e \u003cversion\u003e`\n\nYou should see an HTML report file with the naming scheme `{crate_name}.{version_1}-{version_2}.html` in your current directory.\n\n**Parsing output of guppy-summaries**\n- get a [guppy SummaryDiff](https://github.com/facebookincubator/cargo-guppy/) and store the JSON result in an `INPUT_FILE` (this can be obtained by running `cargo x diff-summary` in the diem/diem codebase)\n- run `./analyze-guppy-output.sh INPUT_FILE` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnaulty%2Fcargo-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnaulty%2Fcargo-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnaulty%2Fcargo-diff/lists"}