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

Use a Cow<'static, str> for ParseError #121

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Use a Cow<'static, str> for ParseError #121

merged 1 commit into from
Mar 7, 2024

Conversation

GnomedDev
Copy link
Contributor

This is a breaking change, but means that error paths no longer have to allocate for static error messages.

@zonyitoo zonyitoo merged commit d861fe3 into zonyitoo:master Mar 7, 2024
6 checks passed
@GnomedDev GnomedDev deleted the static-cow-str branch March 7, 2024 09:54
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