provenant-cli 0.0.10

Rust-based ScanCode-compatible scanner for licenses, package metadata, SBOMs, and provenance data.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

use crate::license_detection::models::{LoadedLicense, LoadedRule};

pub const SCHEMA_VERSION: u32 = 2;

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct EmbeddedLoaderSnapshot {
    pub schema_version: u32,
    pub rules: Vec<LoadedRule>,
    pub licenses: Vec<LoadedLicense>,
}