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

chore(deps): bump strum from 0.25.0 to 0.26.1 #362

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2024

Bumps strum from 0.25.0 to 0.26.1.

Changelog

Sourced from strum's changelog.

0.26.1

  • #325: use core instead of std in VariantArray.

0.26.0

Breaking Changes

  • The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in the right direction for fixing the warning.
  • The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code.
  • Display now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like "Hello {field}", this will now be interpretted as a format string.
  • EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal.

New features

  • The VariantArray macro has been added. This macro adds an associated constant VARIANTS to your enum. The constant is a &'static [Self] slice so that you can access all the variants of your enum. This only works on enums that only have unit variants.

    use strum::VariantArray;
    #[derive(Debug, VariantArray)]
    enum Color {
    Red,
    Blue,
    Green,
    }
    fn main() {
    println!("{:?}", Color::VARIANTS); // prints: ["Red", "Blue", "Green"]
    }

  • The EnumTable macro has been experimentally added. This macro adds a new type that stores an item for each variant of the enum. This is useful for storing a value for each variant of an enum. This is an experimental feature because I'm not convinced the current api surface area is correct.

    use strum::EnumTable;
    #[derive(Copy, Clone, Debug, EnumTable)]
    enum Color {
    Red,
    Blue,
    Green,

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [strum](https://github.com/Peternator7/strum) from 0.25.0 to 0.26.1.
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

---
updated-dependencies:
- dependency-name: strum
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 1, 2024
@cyqsimon cyqsimon merged commit ab94c6c into main Feb 1, 2024
7 of 11 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/strum-0.26.1 branch February 1, 2024 02:21
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Aug 20, 2024
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [imsnif/bandwhich](https://github.com/imsnif/bandwhich) | minor | `v0.22.2` -> `v0.23.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>imsnif/bandwhich (imsnif/bandwhich)</summary>

### [`v0.23.0`](https://github.com/imsnif/bandwhich/releases/tag/v0.23.0)

[Compare Source](imsnif/bandwhich@v0.22.2...v0.23.0)

#### Casuistry. It's a cool word isn't it?

This release is mostly bug fixes and maintainability changes with 1 minor feature:

-   Add PID column to the process table [#&#8203;379](imsnif/bandwhich#379) - [@&#8203;notjedi](https://github.com/notjedi)

A big rewrite of the main loop is still forthcoming™️.

#### What's Changed

-   CI: strip release binaries for all targets by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#358
-   CI: include generated assets in release archive by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#359
-   chore(deps): bump clap_mangen from 0.2.17 to 0.2.18 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#361
-   chore(deps): bump strum from 0.25.0 to 0.26.1 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#362
-   chore(deps): bump itertools from 0.12.0 to 0.12.1 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#363
-   Remove redundant imports by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#377
-   CI: use GitHub API to exempt dependabot from changelog requirement by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#378
-   chore(deps): bump clap from 4.4.18 to 4.5.1 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#373
-   chore(deps): bump thiserror from 1.0.56 to 1.0.57 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#366
-   chore(deps): bump log from 0.4.20 to 0.4.21 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#367
-   chore(deps): bump insta from 1.34.0 to 1.35.1 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#371
-   chore(deps): bump tokio from 1.35.1 to 1.36.0 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#370
-   chore(deps): bump anyhow from 1.0.79 to 1.0.80 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#369
-   chore(deps): bump chrono from 0.4.33 to 0.4.34 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#372
-   chore(deps): bump clap_mangen from 0.2.18 to 0.2.20 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#374
-   chore(deps): bump clap-verbosity-flag from 2.1.2 to 2.2.0 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#375
-   chore(deps): bump clap_complete from 4.4.9 to 4.5.1 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#376
-   chore(deps): bump ratatui from 0.25.0 to 0.26.1 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#368
-   chore(deps): bump mio from 0.8.10 to 0.8.11 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#380
-   feat: add `PID` column to `Process` table by [@&#8203;notjedi](https://github.com/notjedi) in imsnif/bandwhich#379
-   Remove unnecessary logging synchronisation by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#381
-   Apply suggestions from new clippy lint `clippy::assigning_clones` by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#382
-   Fix IPv6 socket detect logic by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#383
-   CI: Configure dependabot grouping by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#395
-   chore(deps): bump the dependencies group with 10 updates by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#396
-   Enable Android build by [@&#8203;flxo](https://github.com/flxo) in imsnif/bandwhich#384
-   docs: add Exherbo Linux install instructions in README.md by [@&#8203;davlgd](https://github.com/davlgd) in imsnif/bandwhich#398
-   CI refactor by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#399
-   Fix Windows FP discrepancy issue in test by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#400
-   CI: Remove `musl-tools` install step by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#402
-   Keep GitHub Actions up to date with GitHub's Dependabot by [@&#8203;cclauss](https://github.com/cclauss) in imsnif/bandwhich#403
-   chore(deps): bump actions/upload-artifact from 3 to 4 in the github-actions group by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#404
-   chore(deps): bump the dependencies group with 6 updates by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#405
-   Temporarily disable UI tests by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#406
-   CI: Enable more cross-compiled builds by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#401
-   Add logo by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#330
-   Update README by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#407
-   CI: use sccache to speed up CI by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#408
-   Update usage in README by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#409
-   chore(deps): bump taiki-e/cache-cargo-install-action from 1 to 2 in the github-actions group by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#411
-   chore(deps): bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 in the github-actions group by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#415
-   chore(deps): bump the dependencies group across 1 directory with 19 updates by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#416
-   chore(deps): bump openssl from 0.10.64 to 0.10.66 by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#417
-   chore(deps): bump the dependencies group with 14 updates by [@&#8203;dependabot](https://github.com/dependabot) in imsnif/bandwhich#418
-   Update `sysinfo` API calls by [@&#8203;cyqsimon](https://github.com/cyqsimon) in imsnif/bandwhich#421

#### New Contributors

-   [@&#8203;notjedi](https://github.com/notjedi) made their first contribution in imsnif/bandwhich#379
-   [@&#8203;flxo](https://github.com/flxo) made their first contribution in imsnif/bandwhich#384
-   [@&#8203;davlgd](https://github.com/davlgd) made their first contribution in imsnif/bandwhich#398
-   [@&#8203;cclauss](https://github.com/cclauss) made their first contribution in imsnif/bandwhich#403

**Full Changelog**: imsnif/bandwhich@v0.22.2...v0.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant