# geiger-rs/cargo-geiger

Detects usage of unsafe Rust in a Rust crate and its dependencies.

Repository: https://github.com/geiger-rs/cargo-geiger
Canonical: https://ross.abutalabs.com/products/cargo-geiger
Homepage: https://crates.io/crates/cargo-geiger
Language: Rust
License Family: other
Last push: 2026-06-19T09:32:15+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 21, longevity 100
- inputs: {"age_days": 2996, "days_push": 75, "days_rel": 367, "gap_med": 142, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1643, forks 79 (observed 2026-08-28T04:05:15.952758+00:00)

## What it is
cargo-geiger is a cargo plugin that scans a Rust crate and its dependency tree to report statistics on unsafe Rust code usage. It provides audit input for tools like cargo-crev and the safety-dance initiative.

## Use cases
- detect unsafe rust in dependencies
- audit rust crate dependency tree for unsafe code
- check if a crate uses unsafe blocks
- supply chain security audit for rust projects
- find unsafe code usage statistics in cargo project
- evaluate rust dependencies before adoption

## When to choose
- you want to quantify unsafe code across an entire dependency tree
- you are performing security or supply-chain audits of Rust crates
- you want a cargo-integrated CLI with machine-readable report output

## When to avoid
- you need a definitive security verdict - it only reports unsafe usage statistics, not exploitability
- you need a stable library API - the exposed libraries are explicitly unstable
- you are auditing non-Rust codebases

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, static-site-generator, developer-tools
- domain: security, developer-tools, programming-languages
- platform: cli, rust, cross-platform
- tags: unsafe-rust, cargo-plugin, dependency-audit, supply-chain-security, rust

## Member repositories
- geiger-rs/cargo-geiger (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:15.952758+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:45:58.753973+00:00, confidence not recorded.
  - readme: https://github.com/geiger-rs/cargo-geiger (fetched 2026-08-28T04:05:15.952758+00:00, sha 0d395454cde0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
