{"id":50889216,"url":"https://github.com/timweri/cargo-oxidate","last_synced_at":"2026-06-15T20:01:29.525Z","repository":{"id":360334962,"uuid":"1249543513","full_name":"timweri/cargo-oxidate","owner":"timweri","description":"Check Cargo dependency freshness - flags packages that are too new or too old","archived":false,"fork":false,"pushed_at":"2026-05-26T02:21:04.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T02:31:23.170Z","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/timweri.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-25T20:15:58.000Z","updated_at":"2026-05-26T02:21:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/timweri/cargo-oxidate","commit_stats":null,"previous_names":["timweri/cargo-oxidate"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/timweri/cargo-oxidate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timweri%2Fcargo-oxidate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timweri%2Fcargo-oxidate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timweri%2Fcargo-oxidate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timweri%2Fcargo-oxidate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timweri","download_url":"https://codeload.github.com/timweri/cargo-oxidate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timweri%2Fcargo-oxidate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34377983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":"2026-06-15T20:01:28.735Z","updated_at":"2026-06-15T20:01:29.518Z","avatar_url":"https://github.com/timweri.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cargo-oxidate\n\nCheck `Cargo.lock` for packages that are too new (supply chain risk) or too old (staleness/CVE risk).\n\n## Installation\n\n```sh\ncargo install cargo-oxidate\n```\n\n## Usage\n\n```sh\n# As a cargo subcommand\ncargo oxidate --min-age-days 14 --max-age-days 730\n\n# Direct invocation\ncargo-oxidate Cargo.lock --min-age-days 14 --max-age-days 730\n```\n\n## Options\n\n| Flag | Description |\n|------|-------------|\n| `--min-age-days N` | Flag packages newer than N days (supply chain security) |\n| `--max-age-days N` | Flag packages older than N days (staleness) |\n| `--exempt pkg1,pkg2` | Comma-separated packages to skip |\n| `--exclude-missing` | Don't flag packages with unknown publish dates |\n| `--timeout N` | HTTP timeout in seconds (default: 10) |\n| `--suggest-fix` | For \"too new\" violations, suggest `cargo update` commands to downgrade |\n| `--cache-path PATH` | Enable response caching at PATH (or set `CARGO_OXIDATE_CACHE_PATH`) |\n| `--cache-max-age-hours N` | Max age for cached version listings (default: 24) |\n\nAt least one of `--min-age-days` or `--max-age-days` must be specified.\n\n## Exit Codes\n\n- `0` — No violations found\n- `1` — Violations detected\n- `2` — Runtime error\n\n## Caching\n\nRepeat runs can reuse crates.io API responses by passing `--cache-path`:\n\n```sh\ncargo oxidate --cache-path .cache/oxidate.json --min-age-days 14\n```\n\nPer-version publish dates are cached indefinitely (they're immutable on crates.io). Per-crate version listings expire after `--cache-max-age-hours` (default 24h) so newly published versions are picked up.\n\n## GitHub Action\n\nThis tool is also available as a GitHub Action. See [examples/usage.yml](examples/usage.yml) or use it in your workflow:\n\n```yaml\n- uses: timweri/cargo-oxidate@v0.1.5\n  with:\n    min-age-days: 14\n    max-age-days: 730\n    cache-responses: true  # default; set to 'false' to disable\n```\n\nWhen `cache-responses` is enabled (the default), the action wires up `actions/cache` keyed on the `Cargo.lock` hash so subsequent runs skip already-fetched crates.io responses.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimweri%2Fcargo-oxidate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimweri%2Fcargo-oxidate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimweri%2Fcargo-oxidate/lists"}