Crate ini_merge

Source
Expand description

§Library to merge INI files subject to configuration

This library forms the backend to https://github.com/VorpalBlade/chezmoi_modify_manager. You probably want that tool instead.

This library provides processing of INI files. In particular:

  • Merging of a source INI file with a target INI file. The merging is asymmetric: The values of the source are preferred unless specific rules have been provided for those sections and/or keys. Formatting is preserved. See merge::merge_ini.
  • Filtering of an INI file based on a rule set

Re-exports§

pub use merge::mutations;
pub use keyring;

Modules§

actions
Action matching framework for INI processing
filter
INI filtering functionality
merge
INI merger functionality

Structs§

Property
Describes a property

Constants§

OUTSIDE_SECTION
Identifier for things outside sections. We could use None, but that wouldn’t allow easily ignoring by regex.

Type Aliases§

InputData
Input type to transformers