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§

Modules§

  • Action matching framework for INI processing
  • INI filtering functionality
  • INI merger functionality

Structs§

Constants§

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

Type Aliases§