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 try parse ini #506

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0132737
Use TryInto for more permissive deserialization for integers
kesyog Jun 28, 2022
b9dc670
test: Adopt test-env to fix random test failure
Xuanwo Apr 18, 2022
f1e0f45
Fix json5 test: Remove artifact character
matthiasbeyer Aug 2, 2022
8822690
Add CHANGELOG entry for 0.13.2
matthiasbeyer Aug 2, 2022
588a461
Bump patchlevel to 0.13.2
matthiasbeyer Aug 2, 2022
a282a97
Run clippy only on MSRV
matthiasbeyer Aug 2, 2022
475f689
Fix: Use float_cmp for testing floats
matthiasbeyer Aug 2, 2022
46e6afc
Merge pull request #364 from matthiasbeyer/release-0.13.x-backport-362
matthiasbeyer Aug 2, 2022
f6163c0
Update MSRV: 1.56.0 -> 1.59.0
matthiasbeyer Dec 4, 2022
8a7349e
Fix: Do not use deprecated function
matthiasbeyer Nov 28, 2022
a2b7276
Merge pull request #399 from matthiasbeyer/release-0.13.x-update-rustc
matthiasbeyer Dec 4, 2022
09b5858
Add Clone trait to builder state
JunichiSugiura Sep 27, 2022
bab6e30
Merge pull request #398 from matthiasbeyer/backport-379
matthiasbeyer Dec 4, 2022
8b26473
Add CHANGELOG entry for 0.13.3
matthiasbeyer Dec 4, 2022
dabf0c4
Add note about MSRV update in 0.13.3
matthiasbeyer Dec 4, 2022
eed287c
Merge pull request #400 from matthiasbeyer/release-0.13.3-changelog
matthiasbeyer Dec 4, 2022
069891c
Bump patchlevel to 0.13.3
matthiasbeyer Aug 2, 2022
9e44d13
Commit a Cargo.lock.minimal that works with our MSRV
ijackson Oct 24, 2023
8952a04
Use Cargo.lock.msrv in CI tests
ijackson Nov 6, 2023
2ded348
Merge pull request #496 from ijackson/release-lockfile-bis
polarathene Nov 7, 2023
519f488
chore(Cargo.toml): Better document direct deps
polarathene Nov 5, 2023
95a9aed
chore(CI): Update `Cargo.lock.msrv`
polarathene Nov 7, 2023
bedfb5d
chore(CI): Relax MSRV to `1.56.1`
polarathene Nov 7, 2023
319a9e2
ser: sequences: Centralise
ijackson Oct 4, 2023
43ac661
ser: sequences: Introduce SeqSerializer newtype
ijackson Oct 4, 2023
9bed600
ser: sequences: Rework, fixing handling of nested arrays
ijackson Oct 4, 2023
eb46fd6
ser: sequences: Test a more comprehensive round-trip
ijackson Oct 4, 2023
08197e4
Merge pull request #495 from mehcode/chore/0.13.x-min-versions
matthiasbeyer Nov 9, 2023
db754f5
Merge pull request #486 from ijackson/nested-array-backport
matthiasbeyer Nov 9, 2023
8bab2ac
Add changelog entry for 0.13.4
matthiasbeyer Oct 23, 2023
750c8d3
Update version: 0.13.3 -> 0.13.4
matthiasbeyer Nov 22, 2023
a383879
Merge pull request #500 from matthiasbeyer/release-0.13/changelog
matthiasbeyer Nov 22, 2023
e30debf
Add try parse ini
Dec 15, 2023
0b7469d
Fix unused imports
Dec 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
rust:
- 1.56.0
- 1.56.1
- stable
- beta
- nightly
Expand All @@ -25,6 +25,9 @@ jobs:
minimal: true
override: true

- name: Install Cargo.lock.msrv
run: cp Cargo.lock.msrv Cargo.lock

- name: Run cargo check
if: matrix.rust != 'nightly'
uses: actions-rs/cargo@v1
Expand All @@ -45,7 +48,7 @@ jobs:
strategy:
matrix:
rust:
- 1.56.0
- 1.56.1
- stable
- beta
- nightly
Expand All @@ -60,15 +63,18 @@ jobs:
minimal: true
override: true

- name: Install Cargo.lock.msrv
run: cp Cargo.lock.msrv Cargo.lock

- name: Run cargo test
if: matrix.rust != 'nightly' && matrix.rust != '1.56.0'
if: matrix.rust != 'nightly' && matrix.rust != '1.56.1'
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features

- name: Run cargo test (nightly)
if: matrix.rust == '1.56.0'
if: matrix.rust == '1.56.1'
continue-on-error: true
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -114,24 +120,20 @@ jobs:
needs: [check]
name: Clippy
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- beta
- nightly
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
minimal: true
toolchain: 1.56.1
override: true
components: clippy

- name: Install Cargo.lock.msrv
run: cp Cargo.lock.msrv Cargo.lock

- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
Expand All @@ -145,7 +147,7 @@ jobs:
strategy:
matrix:
rust:
- 1.56.0
- 1.56.1
- stable

steps:
Expand All @@ -159,6 +161,9 @@ jobs:
minimal: true
override: true

- name: Install Cargo.lock.msrv
run: cp Cargo.lock.msrv Cargo.lock

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
Expand Down
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,54 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

## 0.13.4 - 2023-11-22

- Relaxed the MSRV to 1.56.0 for this release. Please have a look at
[#495] for details
- Backport of the following patches from PR [#465]:
- [aa63d2dbbcc13fbdfa846185d54d87d7822e2509]
- [831102fe0ffd5c7fe475efe5f379c710d201f165]
- [147e6c7275b65b6a74eaec9c05b317673e61084e]
- [ed6a3c9882fbc43eae9313ab1801610e49af863f]
to fix nested arrays (see
[the related bug report](https://github.com/mehcode/config-rs/issues/464)
for details).

[#495]: https://github.com/mehcode/config-rs/pull/495
[#465]: https://github.com/mehcode/config-rs/pull/465
[aa63d2dbbcc13fbdfa846185d54d87d7822e2509]: https://github.com/mehcode/config-rs/commit/aa63d2dbbcc13fbdfa846185d54d87d7822e2509
[831102fe0ffd5c7fe475efe5f379c710d201f165]: https://github.com/mehcode/config-rs/commit/831102fe0ffd5c7fe475efe5f379c710d201f165
[147e6c7275b65b6a74eaec9c05b317673e61084e]: https://github.com/mehcode/config-rs/commit/147e6c7275b65b6a74eaec9c05b317673e61084e
[ed6a3c9882fbc43eae9313ab1801610e49af863f]: https://github.com/mehcode/config-rs/commit/ed6a3c9882fbc43eae9313ab1801610e49af863f

## 0.13.3 - 2022-12-04

Please note that we had to update the MSRV for this crate from 1.56.0 to 1.59.0
for this patch release being possible, because a transitive dependency did
update its MSRV.

- Backport of commit [d54986c54091e4620c199d3dfadde80b82958bb3] from [#362] for
using float_cmp for testing floats
- Backport of [#379] adding `Clone` trait derive to builder states

[d54986c54091e4620c199d3dfadde80b82958bb3]: https://github.com/mehcode/config-rs/commit/d54986c54091e4620c199d3dfadde80b82958bb3
[#362]: https://github.com/mehcode/config-rs/pull/362
[#379]: https://github.com/mehcode/config-rs/pull/379

## 0.13.2 - 2022-08-02

- Backport of [#316] to be testing with temp_env. The backport was necessary to
be able to backport the next change. This change shouldn't be user-visible.
- Backport of [#353] to use TryInto for more permissive deserialization of
integers
- Backport of commit [518a3cafa1e62ba7405709e5c508247e328e0a18] from [#362] to
fix tests

[#316]: https://github.com/mehcode/config-rs/pull/316
[#353]: https://github.com/mehcode/config-rs/pull/353
[518a3cafa1e62ba7405709e5c508247e328e0a18]: https://github.com/mehcode/config-rs/commit/518a3cafa1e62ba7405709e5c508247e328e0a18
[#362]: https://github.com/mehcode/config-rs/pull/362

## 0.13.1 - 2022-04-13

- typo in doc comment for ConfigBuilder [#299]
Expand Down
Loading