macOS
brew install cargo-geigerlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cargo-geiger pour les workflows d'agents IA.
installation
brew install cargo-geigerlocal Homebrew formula metadata
sudo apk add cargo-geigerAlpine Linux edge package indexes · cargo-geiger · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-geigernixpkgs package indexes · pkgs/by-name/ca/cargo-geiger/package.nix · Source: api.github.com
sudo pacman -S cargo-geigerArch Linux sync databases · cargo-geiger · Source: geo.mirror.pkgbuild.com
aperçu
Detects usage of unsafe Rust in a Rust crate and its dependencies
historique
cargo-geiger is a Cargo subcommand that reports unsafe Rust usage in a crate and its dependency graph. Its name references a Geiger counter: unsafe code is treated as something worth detecting, measuring, and containing.
The project is intentionally framed as audit input, not an automatic security verdict. Its README warns that unsafe usage is nuanced and that reports should be handled carefully.
The cargo-geiger repository and crate were created in June 2018. The README says the tool was originally based on code from cargo-osha and cargo-tree, combining unsafe-code scanning with dependency-tree traversal.
Over time the project split reusable pieces into library crates, including `geiger` and `cargo-geiger-serde`. The changelog records substantial dependency-graph work in 0.11.0 using cargo_metadata and JSON/report serialization improvements.
cargo-geiger found a niche in Rust security review and supply-chain auditing, especially among developers interested in minimizing or documenting unsafe code in dependencies.
The README points users toward cargo-crev and safety-dance as audit contexts where cargo-geiger statistics can help. That positioning kept it from becoming a simplistic 'unsafe equals bad' badge while still making unsafe usage visible.
Usage is intentionally simple: run `cargo geiger` from the directory containing the `Cargo.toml` to analyze. The tool reports unsafe-code statistics for the crate and dependencies.
The README documents installation with `cargo install --locked cargo-geiger`, an optional vendored OpenSSL build, and prebuilt GitHub releases.
cargo-geiger is package-nerd significant because it made unsafe-code exposure a transitive package property that could be inspected like licenses, advisories, or dependency trees.
It also shows Rust's audit culture maturing: package metadata alone is not enough, so tools emerged to summarize source-level risk signals across the dependency graph.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
cargo-geiger | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/geiger-rs/cargo-geiger
métadonnées d'installation
| Clé du paquet | brew:cargo-geiger |
|---|---|
| Version | 0.13.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/cargo-geiger |
| Page d'accueil | https://github.com/geiger-rs/cargo-geiger |
| Dépôt | https://github.com/geiger-rs/cargo-geiger |
| Docs amont | https://github.com/geiger-rs/cargo-geiger#readme |
| Licence | Apache-2.0 OR MIT |
| Archive source | https://github.com/geiger-rs/cargo-geiger/archive/refs/tags/cargo-geiger-0.13.0.tar.gz |
| Dernière mise à jour | 2026-06-22T14:02:57-07:00 |
| Pulse | updated |
| Dépendances | openssl@3 |
| Dépendances de compilation | pkgconf, rust |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-geiger |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
cargo-geiger
nix profile install nixpkgs#cargo-geigercargo-geiger 0.13.0-r0
Detects usage of unsafe Rust in a Rust crate and its dependencies.
https://github.com/geiger-rs/cargo-geiger
sudo apk add cargo-geigercargo-geiger-doc 0.13.0-r0
Detects usage of unsafe Rust in a Rust crate and its dependencies. (documentation)
https://github.com/geiger-rs/cargo-geiger
sudo apk add cargo-geiger-doccargo-geiger 0.13.0-1
Detects usage of unsafe Rust in a Rust crate and its dependencies
https://github.com/rust-secure-code/cargo-geiger
sudo pacman -S cargo-geigerpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.