kardia-include 0.2.1

YAML/JSON config files for kardia's loader, kept in sync both ways
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! File-backed entry trees (YAML / JSON) with two-way synchronisation.
//!
//! File edits are reconciled into the tree; runtime changes of the tree
//! (API edits, plugin self-updates and self-disposals) are recorded in a
//! journal and written back to whoever owns them: the file, or a patch in
//! the include's own configuration. On a conflict the file wins.

mod include;
pub mod journal;
pub mod patch;
mod tree;
pub mod yaml;

pub use include::{ConfigFileError, ConfigIssue, Include, IncludeConfig, IncludePlugin, Stage};
pub use tree::{Flat, flatten};