Crates.io | ini-merge |
lib.rs | ini-merge |
version | 0.6.1 |
source | src |
created_at | 2023-04-07 13:15:44.396861 |
updated_at | 2024-11-11 11:25:19.196378 |
description | Library to merge ini files subject to configuration. |
homepage | |
repository | https://github.com/VorpalBlade/ini-merge |
max_upload_size | |
id | 832921 |
size | 74,266 |
[ crates.io ] [ lib.rs ] [ docs.rs ]
This library forms the backend to chezmoi_modify_manager. You probably want that tool instead.
This library provides processing of INI files. In particular:
The use case of this is configuration management for user settings file where the program writes a mix of settings and state to the same file. This gets messy if we want to track the settings part in git using a tool like chezmoi.
A typical example of this is KDE settings files. These contain (apart from settings) state like recently opened files and positions of windows and dialog boxes. Other programs (such as PrusaSlicer) also do the same thing.
This library can be used as a backend to implement a tool to smartly merge such INI files. Such a tool is already available: chezmoi_modify_manager.
Current minimum supported Rust version is 1.75.0. This may be updated as needed. MSRV bump is not considered a semver breaking change.