[][src]Crate geiger

geiger ☢

This crate provides some library parts used by cargo-geiger that are decoupled from cargo.

Structs

Count
CounterBlock

Unsafe usage metrics collection.

RsFileMetrics

Scan result for a single .rs file.

Enums

IncludeTests
ScanFileError

Functions

find_rs_files_in_dir

TODO: Review this, should this be public? Hide this as private and export a pub fn find_unsafe_in_dir instead(?). Or require the caller to perform all directory walking?

find_unsafe_in_file

Scan a single file for unsafe usage.

find_unsafe_in_string