summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-02-27Add repo of unreachable coderepro-424Matthias Beyer
From issue #424. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-02-10Merge pull request #423 from matthiasbeyer/fix-clippyMatthias Beyer
Fix clippy: Remove needless borrowed reference
2023-02-10Fix: Let clippy also run on stable toolchainMatthias Beyer
We check this in the cron job, so we should also check this in the MSRV workflow. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-02-10Fix clippy: Remove needless borrowed referenceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-02-03Merge pull request #422 from matthiasbeyer/update-cronMatthias Beyer
Update MSRV in cron workflow
2023-02-03Update MSRV in cron workflowMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-02-02Merge pull request #413 from yuja/push-cc7b939efbd0Matthias Beyer
Attach key to type error generated from Config::get_<type>()
2023-02-02Attach key to type error generated from Config::get_<type>()Yuya Nishihara
This commit extracts low-level get_value() to preserve the origin as much as possible. get::<Value>() would run Value-to-Value deserialization, and the origin field would be lost there. For scalar types, we could instead leverage get::<T>() as the deserializer implemented for Value type invokes Value::into_<type>() function: fn get_string(&self, key: &str) -> Result<String> { self.get(key) } Signed-off-by: Yuya Nishihara <yuya@tcha.org>
2023-02-02Merge pull request #100 from chenl/issue-99Matthias Beyer
Fix #99: expose `file::source::FileSource`
2023-02-02Fix #99: expose `file::source::FileSource`Chen Rotem Levy
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-02-02Merge pull request #421 from mehcode/dependabot/cargo/toml-0.7Matthias Beyer
Update toml requirement from 0.5 to 0.7
2023-02-02Fix test for error stringMatthias Beyer
This patch fixes the error test for parsing invalid TOML. When we updated toml-rs to 0.7.0, the error display string was altered. Thus we had to adapt the tests for that string. The legacy tests were removed as they are equal to the "non-legacy" tests. No need to keep them both. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-27Update toml requirement from 0.5 to 0.7dependabot[bot]
Updates the requirements on [toml](https://github.com/toml-rs/toml) to permit the latest version. - [Release notes](https://github.com/toml-rs/toml/releases) - [Commits](https://github.com/toml-rs/toml/compare/toml_datetime-v0.5.0...toml-v0.7.0) --- updated-dependencies: - dependency-name: toml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25Merge pull request #420 from matthiasbeyer/update-msrvMatthias Beyer
Update MSRV: 1.59.0 -> 1.60.0
2023-01-25Update MSRV: 1.59.0 -> 1.60.0Matthias Beyer
The is necessary because if the "toml" dependency is updated to 0.6.0, it requires 1.60.0 as MSRV. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-19Merge pull request #416 from matthiasbeyer/no-actions-rsMatthias Beyer
Replace actions-rs with run scripts
2023-01-19Replace actions-rs with run scriptsMatthias Beyer
When we switched from actions-rs to dtolnay, we did not convert the cargo calls in the workflow. This patch fixes this. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-06Merge pull request #411 from ↵Matthias Beyer
mehcode/dependabot/github_actions/actions/checkout-3.3.0 Bump actions/checkout from 3.2.0 to 3.3.0
2023-01-05Bump actions/checkout from 3.2.0 to 3.3.0dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.2.0...v3.3.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02Merge pull request #410 from matthiasbeyer/fix-environment-docsMatthias Beyer
Copy member docs to builder functions
2023-01-02Copy member docs to builder functionsMatthias Beyer
The members are not visible on docs.rs, so copy their documentation to the respective builder functions so users can see what they're about. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-16Merge pull request #406 from matthiasbeyer/fix-clippy-unnecessary-castMatthias Beyer
Fix clippy: Remove unnecessary cast
2022-12-16Fix clippy: Remove unnecessary castMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-14Merge pull request #403 from ↵Matthias Beyer
mehcode/dependabot/github_actions/actions/checkout-3.2.0 Bump actions/checkout from 3.1.0 to 3.2.0
2022-12-14Bump actions/checkout from 3.1.0 to 3.2.0dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14Merge pull request #404 from matthiasbeyer/replace-fixupmerge-with-gitlintMatthias Beyer
Replace fixupmerge with gitlint
2022-12-14Replace block-fixup job with gitlintMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-14Add gitlint configuration fileMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-06Merge pull request #402 from nstinus/masterMatthias Beyer
Gate async-traits behind a feature
2022-12-05Gate async-traits behind a featureNicolas Stinus
2022-12-04Merge pull request #401 from matthiasbeyer/backport-changelogMatthias Beyer
Backport changelog
2022-12-04Add note about MSRV update in 0.13.3Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit dabf0c47ac458802a0b094431a066c8150773bc1) Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-12-04Add CHANGELOG entry for 0.13.3Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 8b26473ce6a974e8372fae7b6d8545c075b9bb9b) Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28Merge pull request #188 from matthiasbeyer/log-deserMatthias Beyer
Add test for log::Level deserialization
2022-11-28Merge pull request #392 from matthiasbeyer/add-static-env-exampleMatthias Beyer
Add simple example using lazy_static
2022-11-28Remove testMatthias Beyer
This test no longer works because we removed case sensitivity. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28Split tests to one test per caseMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28Add testcase for lowercase log::Level deserializationMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28Add test for log::Level deserializationMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28Add simple example using lazy_staticMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28Merge pull request #396 from matthiasbeyer/replace-actions-rsMatthias Beyer
Replace actions rs
2022-11-28actions: cron: Replace actions-rs with dtolnayMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28actions: msrv: Replace actions-rs with dtolnayMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-28Merge pull request #395 from matthiasbeyer/fix-tests-chronoMatthias Beyer
Fix: Do not use deprecated function
2022-11-28Fix: Do not use deprecated functionMatthias Beyer
Replace use of deprecated function with Utc.with_ymd_and_hms(). Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-08Merge pull request #388 from DavidSouther/masterMatthias Beyer
Add documentation to File `required` setter.
2022-11-07Add documentation to `required` setter.David Souther
2022-11-07Merge pull request #393 from matthiasbeyer/more-clippy-fixesMatthias Beyer
More clippy fixes
2022-11-07Fix clippy: Do not manually check for NoneMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-11-07Fix clippy: Do not manually evaluate bool to intMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>