ini_merge/
lib.rs

1//! # Library to merge INI files subject to configuration
2//!
3//! This library forms the backend to
4//! <https://github.com/VorpalBlade/chezmoi_modify_manager>.
5//! You probably want that tool instead.
6//!
7//! This library provides processing of INI files. In particular:
8//!
9//! * Merging of a source INI file with a target INI file. The merging is
10//!   asymmetric: The values of the source are preferred unless specific rules
11//!   have been provided for those sections and/or keys. Formatting is
12//!   preserved. See [`merge::merge_ini`].
13//! * Filtering of an INI file based on a rule set
14
15/// Re-export keyring
16#[cfg(feature = "keyring")]
17pub use keyring;
18// Re-export sub-module
19pub use merge::mutations;
20
21pub mod actions;
22mod common;
23pub mod filter;
24mod loader;
25pub mod merge;
26mod source_loader;
27
28pub use common::InputData;
29pub use common::OUTSIDE_SECTION;
30pub use common::Property;