Crate cargo_geiger
source ·Modules
Structs
Unsafe usage metrics collection.
A cargo Executor to intercept all build tasks and store all “.rs” file
paths for later scanning.
Enums
Constants
Functions
Almost unmodified compared to the original in cargo-tree, should be fairly
simple to move this and the dependency graph structure out to a library.
TODO: Move this to a module to begin with.
TODO: Write proper documentation for this.
This function seems to be looking up the active flags for conditional
compilation (cargo::util::Cfg instances).
Will return true for #[cfg(test)] decodated modules.
Copy-pasted (almost) from the private module cargo::core::compiler::fingerprint.