#[derive(Debug, Clone, Copy)]
pub struct Limits {
pub max_total_bytes: u64,
pub max_file_count: usize,
pub max_single_file: u64,
pub max_path_depth: usize,
}
impl Default for Limits {
fn default() -> Self {
Self {
max_total_bytes: 1024 * 1024 * 1024, max_file_count: 10_000,
max_single_file: 100 * 1024 * 1024, max_path_depth: 50,
}
}
}