tokmd_settings/
profile.rs1use std::collections::BTreeMap;
4
5use serde::{Deserialize, Serialize};
6use tokmd_types::RedactMode;
7
8#[derive(Debug, Clone, Default, Serialize, Deserialize)]
15pub struct UserConfig {
16 pub profiles: BTreeMap<String, Profile>,
17 pub repos: BTreeMap<String, String>, }
19
20#[derive(Debug, Clone, Default, Serialize, Deserialize)]
22pub struct Profile {
23 pub format: Option<String>, pub top: Option<usize>,
26
27 pub files: Option<bool>,
29
30 pub module_roots: Option<Vec<String>>,
32 pub module_depth: Option<usize>,
33 pub min_code: Option<usize>,
34 pub max_rows: Option<usize>,
35 pub redact: Option<RedactMode>,
36 pub meta: Option<bool>,
37
38 pub children: Option<String>,
40}