cargo-cleanme 0.2.0

Safely clean inactive Cargo build artifacts through Cargo
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;
#[derive(Debug, Error)]
pub enum AppError {
    #[error("configuration error: {0}")]
    Config(String),
    #[error("invalid scan root {path}: {reason}")]
    InvalidRoot { path: String, reason: String },
    #[error("I/O error: {0}")]
    Io(#[from] std::io::Error),
    #[error("scanner failed: {0}")]
    Scan(String),
    #[error("self-update refused: {0}")]
    Provenance(String),
    #[error("self-update failed: {0}")]
    Update(String),
}