module 0.3.1

Modular NixOS-style configuration crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[allow(unused_imports)]
pub use crate::{Context, Error, Merge, merge::ErrorKind};

#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Merged(pub bool);

impl Merge for Merged {
    fn merge_ref(&mut self, _: Self) -> Result<(), Error> {
        self.0 = true;
        Ok(())
    }
}