lens3329 0.2.1

Cryptographic inventory scanner: crypto library discovery, lockfile version resolution (Cargo/npm/PyPI), offline advisory/CVE correlation, and CycloneDX CBOM / SARIF export.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! 3329lens — cryptographic inventory scanner.
//!
//! Thin entry point: parse arguments, dispatch, map errors to an exit code.
//! Exit codes: 0 success, 1 operational error, 2 vulnerability gate failure
//! (see `--fail-on`, raised from within the scan handler).

use clap::Parser;

use lens3329::cli::{run, Cli};

fn main() {
    let cli = Cli::parse();

    if let Err(e) = run(cli.command) {
        eprintln!("Error: {}", e);
        std::process::exit(1);
    }
}