Skip to content

ABC Tool

  • Home
  • About / Contect
    • PRIVACY POLICY
geiger-rs/cargo-geiger: Detects usage of unsafe Rust in a Rust crate and its dependencies. · GitHub

geiger-rs/cargo-geiger: Detects usage of unsafe Rust in a Rust crate and its dependencies. · GitHub

Posted on June 20, 2026June 20, 2026 By safdargal12 No Comments on geiger-rs/cargo-geiger: Detects usage of unsafe Rust in a Rust crate and its dependencies. · GitHub
Blog



unsafe forbidden
crates.io
Crates.io

A tool that lists statistics related to the usage of unsafe Rust code in a Rust
crate and all its dependencies.

This cargo plugin was originally based on the code from two other projects:

Try to find and use a system-wide installed OpenSSL library:

cargo install --locked cargo-geiger

Or, build and statically link OpenSSL as part of the cargo-geiger executable:

cargo install --locked cargo-geiger --features vendored-openssl

Alternatively pre-built binary releases are available from GitHub releases.

  1. Navigate to the same directory as the Cargo.toml you want to analyze.
  2. cargo geiger

This tool is not meant to advise directly whether the code ultimately is truly insecure or not.

The purpose of cargo-geiger is to provide statistical input to auditing e.g. with:

The use of unsafe is nuanced and necessary in some cases and any motivation to use it is outside the scope of cargo-geiger.

It is important that any reporting is handled with care:

Example output

Cargo Geiger exposes three libraries:

  • cargo-geiger – Unversioned and highly unstable library exposing the internals of the cargo-geiger binary. As such, any function contained within this library may be subject to change.
  • cargo-geiger-serde – A library containing the serializable report types
  • geiger – A library containing a few decoupled cargo components used by cargo-geiger

See the changelog.

https://en.wikipedia.org/wiki/Geiger_counter

Unsafe code, like ionizing radiation, is unavoidable in some situations and should be safely contained!



Source link

Post Views: 2

Post navigation

❮ Previous Post: If ‘Disclosure Day’ Comes, How Can We Trust Evidence of UFOs?
Next Post: Here's how much the Apple iPhone 18 Pro could cost due to memory price hike ❯

You may also like

OpenAI’s rumored AI phone might land way sooner than we thought
Blog
OpenAI’s rumored AI phone might land way sooner than we thought
May 5, 2026
AT&T and Verizon lose Supreme Court case over fines for selling location data
Blog
AT&T and Verizon lose Supreme Court case over fines for selling location data
June 5, 2026
Google is transforming your online shopping cart into something much smarter
Blog
Google is transforming your online shopping cart into something much smarter
May 20, 2026
Ring Brings Its Retinal 2K Resolution to Spotlight and Floodlight Cameras
Blog
Ring Brings Its Retinal 2K Resolution to Spotlight and Floodlight Cameras
May 14, 2026

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Toy Story 5 has the right take on tech
  • EP219: 12 Open-source LLMs – ByteByteGo Newsletter
  • Let’s Hear It for This Prime Day Deal Slashing $76 Off Nothing’s Earbuds
  • Apple Watch vs AirPods: Which is a Better for Tracking Heart Rate?
  • Musician and YouTuber Hainbach on ‘Breath of the Wild’ and Swiss Army Knives

Recent Comments

  1. blood strike top up on NYC Mayor Zohran Mamdani takes to Twitch to chat with New Yorkers
  2. Last Chance for Big Savings on TechCrunch Disrupt 2026 Tickets – Artiverse on 5 days left: Save up to $410 on Disrupt 2026 passes

Archives

  • June 2026
  • May 2026
  • April 2026

Categories

  • Blog

Copyright © 2026 ABC Tool.

Theme: Oceanly News by ScriptsTown