Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom key-value separator in nameless sections. #112

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

LostSnail42
Copy link

Per the title, it seems that this area got missed when the functionality was added.

@LostSnail42
Copy link
Author

Added a commit with some minor refactoring of write_to_opt to reduce code duplication. This will help avoid the kind of situations that the first commit fixes.

@zonyitoo zonyitoo merged commit 13ed93d into zonyitoo:master Aug 10, 2023
6 checks passed
renovate bot referenced this pull request in runtime-env/import-meta-env Jul 13, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [rust-ini](https://togithub.com/zonyitoo/rust-ini) | dependencies |
minor | `0.19.0` -> `0.21.0` |

---

### Release Notes

<details>
<summary>zonyitoo/rust-ini (rust-ini)</summary>

###
[`v0.21.0`](https://togithub.com/zonyitoo/rust-ini/releases/tag/v0.21.0)

[Compare
Source](https://togithub.com/zonyitoo/rust-ini/compare/v0.20.0...v0.21.0)

#### What's Changed

- Add iter_mut() and into_iter() to Properties by
[@&#8203;arucil](https://togithub.com/arucil) in
[https://github.com/zonyitoo/rust-ini/pull/118](https://togithub.com/zonyitoo/rust-ini/pull/118)
- Use a Cow<'static, str> for ParseError by
[@&#8203;GnomedDev](https://togithub.com/GnomedDev) in
[https://github.com/zonyitoo/rust-ini/pull/121](https://togithub.com/zonyitoo/rust-ini/pull/121)
- Updating README usage version to 0.20 by
[@&#8203;BigBallard](https://togithub.com/BigBallard) in
[https://github.com/zonyitoo/rust-ini/pull/125](https://togithub.com/zonyitoo/rust-ini/pull/125)
- Fix clippy warnings by
[@&#8203;GnomedDev](https://togithub.com/GnomedDev) in
[https://github.com/zonyitoo/rust-ini/pull/120](https://togithub.com/zonyitoo/rust-ini/pull/120)
- Add inline(never) to Parser::error by
[@&#8203;GnomedDev](https://togithub.com/GnomedDev) in
[https://github.com/zonyitoo/rust-ini/pull/122](https://togithub.com/zonyitoo/rust-ini/pull/122)
- Avoid reallocating for trimming by
[@&#8203;GnomedDev](https://togithub.com/GnomedDev) in
[https://github.com/zonyitoo/rust-ini/pull/124](https://togithub.com/zonyitoo/rust-ini/pull/124)

#### New Contributors

- [@&#8203;arucil](https://togithub.com/arucil) made their first
contribution in
[https://github.com/zonyitoo/rust-ini/pull/118](https://togithub.com/zonyitoo/rust-ini/pull/118)
- [@&#8203;GnomedDev](https://togithub.com/GnomedDev) made their first
contribution in
[https://github.com/zonyitoo/rust-ini/pull/121](https://togithub.com/zonyitoo/rust-ini/pull/121)
- [@&#8203;BigBallard](https://togithub.com/BigBallard) made their first
contribution in
[https://github.com/zonyitoo/rust-ini/pull/125](https://togithub.com/zonyitoo/rust-ini/pull/125)

**Full Changelog**:
zonyitoo/rust-ini@v0.20.0...v0.21.0

###
[`v0.20.0`](https://togithub.com/zonyitoo/rust-ini/releases/tag/v0.20.0)

[Compare
Source](https://togithub.com/zonyitoo/rust-ini/compare/v0.19.0...v0.20.0)

#### What's Changed

- Fix clippy warnings by
[@&#8203;crapStone](https://togithub.com/crapStone) in
[https://github.com/zonyitoo/rust-ini/pull/110](https://togithub.com/zonyitoo/rust-ini/pull/110)
- Add support for custom key-value separator in nameless sections. by
[@&#8203;LostSnail42](https://togithub.com/LostSnail42) in
[https://github.com/zonyitoo/rust-ini/pull/112](https://togithub.com/zonyitoo/rust-ini/pull/112)
- Update ordered-multimap dependency by
[@&#8203;loewenheim](https://togithub.com/loewenheim) in
[https://github.com/zonyitoo/rust-ini/pull/115](https://togithub.com/zonyitoo/rust-ini/pull/115)

#### New Contributors

- [@&#8203;crapStone](https://togithub.com/crapStone) made their first
contribution in
[https://github.com/zonyitoo/rust-ini/pull/110](https://togithub.com/zonyitoo/rust-ini/pull/110)
- [@&#8203;LostSnail42](https://togithub.com/LostSnail42) made their
first contribution in
[https://github.com/zonyitoo/rust-ini/pull/112](https://togithub.com/zonyitoo/rust-ini/pull/112)
- [@&#8203;loewenheim](https://togithub.com/loewenheim) made their first
contribution in
[https://github.com/zonyitoo/rust-ini/pull/115](https://togithub.com/zonyitoo/rust-ini/pull/115)

**Full Changelog**:
zonyitoo/rust-ini@v0.19.0...v0.20.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/runtime-env/import-meta-env).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ernest <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants