Skip to main content

crap4rust/coverage_io/
export.rs

1// Copyright 2026 Umberto Gotti <umberto.gotti@umbertogotti.dev>
2// Licensed under the MIT License
3// SPDX-License-Identifier: MIT
4
5use serde::Deserialize;
6
7#[derive(Debug, Deserialize)]
8pub struct Export {
9    pub data: Vec<ExportChunk>,
10}
11
12#[derive(Debug, Deserialize)]
13pub struct ExportChunk {
14    pub functions: Vec<ExportFunction>,
15}
16
17#[derive(Debug, Deserialize)]
18pub struct ExportFunction {
19    pub filenames: Vec<String>,
20    pub regions: Vec<Vec<u64>>,
21}