Age | Commit message (Collapse) | Author |
|
From issue #424.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Fix clippy: Remove needless borrowed reference
|
|
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>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Update MSRV in cron workflow
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Attach key to type error generated from Config::get_<type>()
|
|
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>
|
|
Fix #99: expose `file::source::FileSource`
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Update toml requirement from 0.5 to 0.7
|
|
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>
|
|
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>
|
|
Update MSRV: 1.59.0 -> 1.60.0
|
|
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>
|
|
Replace actions-rs with run scripts
|
|
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>
|
|
mehcode/dependabot/github_actions/actions/checkout-3.3.0
Bump actions/checkout from 3.2.0 to 3.3.0
|
|
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>
|
|
Copy member docs to builder functions
|
|
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>
|
|
Fix clippy: Remove unnecessary cast
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
mehcode/dependabot/github_actions/actions/checkout-3.2.0
Bump actions/checkout from 3.1.0 to 3.2.0
|
|
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>
|
|
Replace fixupmerge with gitlint
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Gate async-traits behind a feature
|
|
|
|
Backport changelog
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit dabf0c47ac458802a0b094431a066c8150773bc1)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 8b26473ce6a974e8372fae7b6d8545c075b9bb9b)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Add test for log::Level deserialization
|
|
Add simple example using lazy_static
|
|
This test no longer works because we removed case sensitivity.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Replace actions rs
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Fix: Do not use deprecated function
|
|
Replace use of deprecated function with Utc.with_ymd_and_hms().
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Add documentation to File `required` setter.
|
|
|
|
More clippy fixes
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|