ini-doc

Crates.ioini-doc
lib.rsini-doc
version0.3.0
created_at2025-07-24 06:12:04.347964+00
updated_at2025-07-26 15:18:44.886683+00
descriptionA Rust library for reading and writing INI files with support for comments and sections.
homepage
repositoryhttps://github.com/Orvaxis/ini-doc
max_upload_size
id1765561
size54,988
(Orvaxis)

documentation

README

ini-doc

A Rust library for reading and writing INI files, built on top of ini-roundtrip. It preserves comments (doc info), supports ordered sections and keys by default, and provides a convenient API for editing and serialization.

Features

  • Comment Preservation: Retains and exposes all comments (doc info) in INI files.
  • Ordered Sections & Keys: Uses indexmap by default to preserve the order of sections and keys.
  • Easy-to-use API: Simple interface for reading, editing, and serializing INI files.
  • Doc Info Preservation: Preserves as much doc (comment) information as possible.
  • No Inline Comment Support: Inline comments are not supported.

Installation

Add the following to your Cargo.toml:

[dependencies]
ini-doc = "0.1"

Dependencies

License

MIT License


For more examples and API details, see the source code or documentation.

Commit count: 0

cargo fmt