rust-ini
An Ini configuration file parsing library in Rust
0.21.3
118M downloads/mo
#726 most downloaded on crates.io
zonyitoo/rust-ini
What this package is like to depend on
Last release 11 months ago
30 Aug 2025
Ships fairly regularly
a new release about every 5 months
Rarely documented
notes for 9 of 45 stable releases
2 versions withdrawn
withdrawn after publishing
12 years old
47 releases · first in 2015
1 release in the last 12 months
see the full history below
Release timeline
47 releases · Jan 2015 to Aug 2025Releases
latest 47-
0.21.330 Aug 2025Release notes
Open source →NOTE: v1.21.2 was yanked because of #146 . Users should upgrade to v1.21.3 .
Features
- #126 Support key with leading whitespaces
# Keys in general section can have leading whitespaces KeyWith2LeadingSpace=Value [Section] KeyWith3LeadingSpace=Value
Bug Fixes
- #146 Fixed sections that are indented are parsed as keys, introduced from v1.21.2.
# Section that have 2 leading whitespaces indentation [Section] Key=Value
Full Changelog: v0.21.1...v0.21.3
What's Changed
- Allow for multiline values with escaped newline by @jmbaur in #137
- Implement ParseOption::indented_multiline_values by @davidhalter in #139
- Remove the trim-in-place dependency by @Ortham in #143
- feat: preserve leading whitespace in INI keys by @prestomation in #145
- Fix #146: section headers with leading whitespace are parsed as expected by @prestomation in #147
New Contributors
- @jmbaur made their first contribution in #137
- @davidhalter made their first contribution in #139
- @Ortham made their first contribution in #143
- @prestomation made their first contribution in #145
Full Changelog: v0.21.1...v0.21.3
-
0.21.202 Jul 2025 withdrawnNothing published for this version
-
0.21.103 Aug 2024Release notes
Open source →What's Changed
- Deduplicate eof error handling by @GnomedDev in #127
- #128 Add/Allow duplicate properties by @RouHim in #129
- Restrict lifetimes of SectionSetter methods by @rikyborg in #135
New Contributors
Full Changelog: v0.21.0...v0.21.1
-
0.21.013 Mar 2024Release notes
Open source →What's Changed
- Add iter_mut() and into_iter() to Properties by @arucil in #118
- Use a Cow<'static, str> for ParseError by @GnomedDev in #121
- Updating README usage version to 0.20 by @BigBallard in #125
- Fix clippy warnings by @GnomedDev in #120
- Add inline(never) to Parser::error by @GnomedDev in #122
- Avoid reallocating for trimming by @GnomedDev in #124
New Contributors
- @arucil made their first contribution in #118
- @GnomedDev made their first contribution in #121
- @BigBallard made their first contribution in #125
Full Changelog: v0.20.0...v0.21.0
-
0.20.026 Oct 2023Release notes
Open source →What's Changed
- Fix clippy warnings by @crapStone in #110
- Add support for custom key-value separator in nameless sections. by @LostSnail42 in #112
- Update ordered-multimap dependency by @loewenheim in #115
New Contributors
- @crapStone made their first contribution in #110
- @LostSnail42 made their first contribution in #112
- @loewenheim made their first contribution in #115
Full Changelog: v0.19.0...v0.20.0
-
0.19.004 May 2023Release notes
Open source →What's Changed
- Update README.rst by @Zamiell in #87
- Don't panic (on general section for empty ini) by @sirhcel in #88
- Fix typo by @SebastienGllmt in #89
- Fix failing test when building with
--all-featuresby @joshuachp in #92 - Add configurable separator by @2m in #93
- Fix reported line/column numbers in error message by @Chocobo1 in #95
- Add test case for ParseError line/column numbers by @Chocobo1 in #97
- Skip over tab characters before comment delimiter by @Chocobo1 in #98
- fix: CI on a supported platform by @ryanwohara in #99
- Improve test coverage for escape_str() function by @rhi-gray in #102
- bump ordered-multimap to 0.6 by @xxchan in #103
New Contributors
- @Zamiell made their first contribution in #87
- @sirhcel made their first contribution in #88
- @SebastienGllmt made their first contribution in #89
- @joshuachp made their first contribution in #92
- @2m made their first contribution in #93
- @Chocobo1 made their first contribution in #95
- @ryanwohara made their first contribution in #99
- @rhi-gray made their first contribution in #102
- @xxchan made their first contribution in #103
Full Changelog: v0.18.0...v0.19.0
-
0.18.021 Feb 2022Release notes
Open source →What's Changed
- Make all iterators reversible by @taiki-e in #81
- Implement Iterator::size_hint method by @taiki-e in #82
- Add #[deprecated] attribute to Ini::mut_iter by @taiki-e in #83
- Optional support brackets in section names. Fixes #84 by @aegoroff in #85
- Update ordered-multimap to 0.4 by @taiki-e in #86
New Contributors
Full Changelog: v0.17.0...v0.18.0
-
0.17.028 Mar 2021 -
0.16.122 Jan 2021 -
0.16.030 Sep 2020 -
0.15.316 Jun 2020Nothing published for this version
-
0.15.218 Feb 2020Nothing published for this version
-
0.15.112 Feb 2020Nothing published for this version
-
0.15.006 Feb 2020Nothing published for this version
-
0.14.003 Jan 2020Nothing published for this version
-
0.13.004 Oct 2018Nothing published for this version
-
0.12.304 Oct 2018 withdrawnNothing published for this version
-
0.12.207 Jul 2018Nothing published for this version
-
0.12.129 May 2018Nothing published for this version
-
0.12.020 May 2018Nothing published for this version
-
0.11.014 Apr 2018Nothing published for this version
-
0.10.323 Feb 2018Nothing published for this version
-
0.10.228 Jan 2018Nothing published for this version
-
0.10.126 Jan 2018Nothing published for this version
-
0.10.003 Jan 2017Nothing published for this version
-
0.9.1215 Nov 2016Nothing published for this version
-
0.9.1120 Oct 2016Nothing published for this version
-
0.9.1020 Oct 2016Nothing published for this version
-
0.9.927 Sep 2016Nothing published for this version
-
0.9.805 Aug 2016Nothing published for this version
-
0.9.727 Jul 2016Nothing published for this version
-
0.9.602 Jul 2016Nothing published for this version
-
0.9.515 Jun 2016Nothing published for this version
-
0.9.430 Mar 2016Nothing published for this version
-
0.9.207 Oct 2015Nothing published for this version
-
0.9.104 Oct 2015Nothing published for this version
-
0.9.004 Oct 2015Nothing published for this version
-
0.8.224 Sep 2015Nothing published for this version
-
0.8.107 Aug 2015Nothing published for this version
-
0.8.007 Jun 2015Nothing published for this version
-
0.7.105 Jun 2015Nothing published for this version
-
0.7.004 Jun 2015Nothing published for this version
-
0.6.004 Jun 2015Nothing published for this version
-
0.5.131 May 2015Nothing published for this version
-
0.5.011 Apr 2015Nothing published for this version
-
0.4.326 Mar 2015Nothing published for this version
-
0.4.226 Jan 2015Nothing published for this version