Commit 8aa3bde
authored
Update dependencies (strum, hashbrown, toml) and setup dependabot (#12)
PTAL?
I hope that updating version of the crate's dependencies is
uncontroversial. I tried looking at the changelogs of the updated crates
and no obvious risk / undesirable breakage jumped out at me. In
particular, `derivre` seems to build and pass all the tests without any
additional code changes.
* https://github.com/Peternator7/strum/blob/master/CHANGELOG.md#0280:
- Breaking Change - EnumString now implements From<&str> (infallible)
instead of TryFrom<&str> when the enum has a #[strum(default)] variant.
This more accurately reflects that parsing cannot fail in that case. If
you need the old TryFrom behavior, you can opt back in ...
* https://github.com/toml-rs/toml/blob/main/crates/toml/CHANGELOG.md
- We skipped multiple versions. There are multiple breaking changes, but
most of them don't seem to impact `derivre`.
-
https://github.com/toml-rs/toml/blob/main/crates/toml/CHANGELOG.md#090---2025-07-08
-
https://github.com/toml-rs/toml/blob/main/crates/toml/CHANGELOG.md#100---2026-02-11
- I don't understand what breaking changes are here. Maybe the type
changes in both of the fixes are breaking?
-
https://github.com/toml-rs/toml/blob/main/crates/toml/CHANGELOG.md#100---2026-02-11
- I don't understand what breaking changes are here. Is MSRV update
considered a breaking change?
* https://github.com/rust-lang/hashbrown/blob/main/CHANGELOG.md
- It is unclear to me what breaking changes are associated with the jump
to 0.16.x and 0.17.x
I also set up GitHub's dependabot which will automatically raise PRs if
new versions of dependencies are available. I've seen this setup used
successfully in other projects, but I am open to feedback / pushback.
The ultimate motivation for this PR is https://crbug.com/491518606 -
Chromium needs to import and depend on two versions of `strum` partially
because of the stale `derivre` => old `strum` dependency.1 parent 4f51123 commit 8aa3bde
3 files changed
Lines changed: 112 additions & 84 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments