use std::collections::BTreeMap;
use crate::types::{PoliciesSection, ShakrsConfig};
pub const fn default_true() -> bool {
true
}
impl Default for ShakrsConfig {
fn default() -> Self {
Self {
version: 1,
policies: PoliciesSection::default(),
waivers: Vec::new(),
}
}
}
impl Default for PoliciesSection {
fn default() -> Self {
Self {
default_enabled: true,
overrides: BTreeMap::new(),
}
}
}