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

cargo: bump the cargo-dependencies group with 4 updates #3208

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2024

Bumps the cargo-dependencies group with 4 updates: insta, pest, pest_derive and whoami.

Updates insta from 1.35.1 to 1.36.1

Changelog

Sourced from insta's changelog.

1.36.1

  • Fix an ownership issue introduced in 1.36 with snapshot assertions. #453

1.36.0

  • Deprecate INSTA_FORCE_UPDATE_SNAPSHOTS env-var for INSTA_FORCE_UPDATE. The latter was documented, the former was implemented. #449

  • Add require_full_match option. #448

  • Deprecate assert_display_snapshot!. #385

Commits

Updates pest from 2.7.7 to 2.7.8

Commits
  • 28c01cb fix: adjust tag association in optional and repeat expressions (#985)
  • 57daac4 feat: add sql grammar with pratt parser and tests (#983)
  • a0a92fb ci: bump toolchain for check (#978)
  • da27a16 fix: DebuggerContest::load_XXX accepts impl AsRef<Path> instead of &PathBuf (...
  • 99aad5c bump toolchain to be able to install cargo-msrv (#973)
  • See full diff in compare view

Updates pest_derive from 2.7.7 to 2.7.8

Release notes

Sourced from pest_derive's releases.

v2.7.8

What's Changed

New Contributors

Full Changelog: pest-parser/pest@v2.7.7...v2.7.8

Warning: Semantic Versioning

Note that the node tag feature in 2.6.0 was a technically semver-breaking change even though it is a backwards-compatible / non-breaking change in the meta-grammar. There may be similar non-breaking changes to the meta-grammar between minor versions in the future. These non-breaking changes, however, may translate into semver-breaking changes due to the additional variants propagated from the generated Rule enum.

This new feature caused issues in some Cargo version resolution situations where Cargo mixed different versions of pest dependencies. For this reason, these "grammar non-breaking but semver-breaking" changes are now available only under the "grammar-extras" feature flag. If you would like to use node tags (or other future grammar features), you can do so by enabling this flag on the pest_derive crate in your Cargo.toml:

...
pest_derive = { version = "2.7", features = ["grammar-extras"] }
Commits
  • 28c01cb fix: adjust tag association in optional and repeat expressions (#985)
  • 57daac4 feat: add sql grammar with pratt parser and tests (#983)
  • a0a92fb ci: bump toolchain for check (#978)
  • da27a16 fix: DebuggerContest::load_XXX accepts impl AsRef<Path> instead of &PathBuf (...
  • 99aad5c bump toolchain to be able to install cargo-msrv (#973)
  • See full diff in compare view

Updates whoami from 1.4.1 to 1.5.0

Changelog

Sourced from whoami's changelog.

[1.5.0] - 2024-03-03

Added

  • WASI support
  • Redox support
  • Fallible functions
    • whoami::fallible::devicename()
    • whoami::fallible::devicename_os()
    • whoami::fallible::distro()
    • whoami::fallible::hostname() - notably doesn't normalize to lowercase
    • whoami::fallible::realname()
    • whoami::fallible::realname_os()
    • whoami::fallible::username()
    • whoami::fallible::username_os()
  • whoami::Language
  • whoami::Country
  • whoami::langs()
  • whoami::fallible::account()
  • whoami::fallible::account_os()
  • whoami::DesktopEnv::is_gtk()
  • whoami::DesktopEnv::is_kde()

Removed

  • Generated device names that infer casing based on the hostname when the device name is not available - now returns the hostname unchanged
  • Partial (potentially unsound) support for Android, iOS, watchOS, tvOS, Fuchsia, Haiku, Solaris, and a few others. These targets now use the "fake" implementation.

Changed

  • Deprecated whoami::distro_os()
  • Deprecated whoami::hostname()
  • Deprecated whoami::hostname_os()
  • Deprecated whoami::lang()
  • illumos and Redox are no longer untested targets
  • Documented that illumos and Redox have a higher MSRV (Rust 1.65) than other targets
  • Display implementation on Platform::Illumos now displays in lowercase: illumos

Fixed

  • Removed some unnecessary allocations
  • Rare and nearly impossible cases of undefined behavior
  • Better handling of UTF-8 non-conformant strings
  • Multiple instances of undefined behavior on illumos
Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the cargo-dependencies group with 4 updates: [insta](https://github.com/mitsuhiko/insta), [pest](https://github.com/pest-parser/pest), [pest_derive](https://github.com/pest-parser/pest) and [whoami](https://github.com/ardaku/whoami).


Updates `insta` from 1.35.1 to 1.36.1
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](mitsuhiko/insta@1.35.1...1.36.1)

Updates `pest` from 2.7.7 to 2.7.8
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](pest-parser/pest@v2.7.7...v2.7.8)

Updates `pest_derive` from 2.7.7 to 2.7.8
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](pest-parser/pest@v2.7.7...v2.7.8)

Updates `whoami` from 1.4.1 to 1.5.0
- [Changelog](https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md)
- [Commits](ardaku/whoami@v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: insta
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: pest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: pest_derive
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: whoami
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 4, 2024
@github-actions github-actions bot enabled auto-merge (rebase) March 4, 2024 16:07
@thoughtpolice
Copy link
Collaborator

CI failure, so this needs to be babied into the tree:

error: use of deprecated function `whoami::hostname`: use `fallible::hostname()` instead
   --> lib/src/settings.rs:186:41
    |
186 |             .unwrap_or_else(|_| whoami::hostname())
    |                                         ^^^^^^^^
    |
    = note: `-D deprecated` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(deprecated)]`

@sunshowers
Copy link

sunshowers commented Mar 4, 2024

whoami 1.5.0 actually has a security fix on illumos so it's important to get it in, btw: ardaku/whoami#91

@thoughtpolice
Copy link
Collaborator

Replaced by #3215

auto-merge was automatically disabled March 5, 2024 00:21

Pull request was closed

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 5, 2024

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

@dependabot dependabot bot deleted the dependabot/cargo/cargo-dependencies-2c5a6a577d branch March 5, 2024 00:21
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants