cargo-geiger
brew install cargo-geiger
v0.13.0
Apache-2.0 OR MIT
Detects usage of unsafe Rust in a Rust crate and its dependencies
26
30-day installs · #6173
78
90-day · #6141
318
365-day · #6176
1.6k
★ GitHub stars · updated 2mo ago
Runtime dependencies
Build dependencies
Links
- https://github.com/geiger-rs/cargo-geiger
- GitHub: geiger-rs/cargo-geiger
- Brew formula source: Formula/c/cargo-geiger.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"pkgconf",
"rust"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"openssl@3"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Detects usage of unsafe Rust in a Rust crate and its dependencies",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:08+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cargo-geiger",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-19T09:32:15Z",
"github_readme_excerpt": "cargo-geiger \u2622\ufe0f \n===============\n\n[](https://github.com/geiger-rs/cargo-geiger/actions/workflows/ci.yml)\n[](https://github.com/rust-secure-code/safety-dance/)\n[](https://crates.io/crates/cargo-geiger)\n[](https://crates.io/crates/cargo-geiger)\n\nA tool that lists statistics related to the usage of unsafe Rust code in a Rust\ncrate and all its dependencies.\n\nThis cargo plugin was originally based on the code from two other projects:\n* \u003chttps://github.com/icefoxen/cargo-osha\u003e and\n* \u003chttps://github.com/sfackler/cargo-tree\u003e\n\nInstallation\n------------\n\nTry to find and use a system-wide installed OpenSSL library:\n\n```bash\ncargo install --locked cargo-geiger\n```\n\nOr, build and statically link OpenSSL as part of the cargo-geiger executable:\n\n```bash\ncargo install --locked cargo-geiger --features vendored-openssl\n```\n\nAlternatively pre-built binary releases are available from [GitHub releases](https://github.com/geiger-rs/cargo-geiger/releases).\n\nUsage\n-----\n\n1. Navigate to the same directory as the `Cargo.toml` you want to analyze.\n2. `cargo geiger`\n\nIntended Use\n------------\n\nThis tool is not meant to advise directly whether the code ultimately is truly insecure or not.\n\nThe purpose of cargo-geiger is to provide statistical input to auditing e.g. with:\n\n- [cargo-crev](https://crates.io/crates/cargo-crev)\n- [safety-dance](https://github.com/rust-secure-code/safety-dance)\n\nThe use of unsafe is nuanced and necessary in some cases and any motivation to use it is outside the scope of cargo-geiger.\n\nIt is important that any reporting is handled with care:\n\n- [Reddit: The Stigma around Unsafe](https://www.reddit.com/r/rust/comments/y1u068/the_stigma_around_unsafe/)\n- [YouTube: Rust NY",
"github_repo": "geiger-rs/cargo-geiger",
"github_stars": 1611,
"github_topics": [],
"homepage": "https://github.com/geiger-rs/cargo-geiger",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 26,
"installs_365d": 318,
"installs_90d": 78,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0 OR MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "cargo-geiger",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6173,
"rank_365d": 6176,
"rank_90d": 6141,
"raw_hash": "17b11a4b50c1f1a5",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cargo-geiger.rb",
"tap": "homebrew/core",
"test_dependencies": [
"rustup"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.13.0",
"versioned_formulae": [],
"why_use_this": null
}