cargo-crap4rust 0.8.1

Cargo subcommand for computing CRAP scores across Rust crates
Documentation
// Copyright 2026 Umberto Gotti <umberto.gotti@umbertogotti.dev>
// Licensed under the MIT License
// SPDX-License-Identifier: MIT

use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct Export {
    pub data: Vec<ExportChunk>,
}

#[derive(Debug, Deserialize)]
pub struct ExportChunk {
    pub functions: Vec<ExportFunction>,
}

#[derive(Debug, Deserialize)]
pub struct ExportFunction {
    pub filenames: Vec<String>,
    pub regions: Vec<Vec<u64>>,
}