allow-report 0.1.9

Report and receipt rendering for cargo-allow source exception scans.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::InventoryContext;

#[derive(Debug, Clone, Copy)]
pub struct ProposeReport<'a> {
    pub inventory: InventoryContext<'a>,
    pub kind: Option<&'a str>,
    pub expires: &'a str,
    pub policy_output: Option<&'a str>,
    pub force: bool,
    pub findings_scanned: usize,
    pub baseline_debt_entries_proposed: usize,
    pub unsafe_baseline_debt_entries_proposed: usize,
}