tokmd_analysis_types/dependencies.rs
1//! Dependency receipt DTOs.
2//!
3//! These supply-chain-adjacent contract types remain re-exported from the
4//! crate root to preserve existing `tokmd_analysis_types::...` names.
5
6use serde::{Deserialize, Serialize};
7
8#[derive(Debug, Clone, Serialize, Deserialize)]
9pub struct DependencyReport {
10 pub total: usize,
11 pub lockfiles: Vec<LockfileReport>,
12}
13
14#[derive(Debug, Clone, Serialize, Deserialize)]
15pub struct LockfileReport {
16 pub path: String,
17 pub kind: String,
18 pub dependencies: usize,
19}