Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Updates the requirements on libwebp-sys2 to permit the latest version.

Changelog

Sourced from libwebp-sys2's changelog.

0.2.0

  • Breaking changes
    • Migrate to Rust 2024 and raise MSRV to 1.85.0 qnighy/libwebp-sys2-rs#30
    • Changed to crate features qnighy/libwebp-sys2-rs#31
      • Add std default feature. This is currently required for the crate to be compiled.
      • Make 1_2 default. If you need to support libwebp versions older than 1.2.0, you should opt out of it using default-features = false.
      • Remove must-use. Now #[must_use] annotation is always added to the relevant definitions.
  • Compatibility note
    • 0.2.x and 0.1.x cannot coexist in the same build, except the exact 0.2.0, which delegates to 0.1.x using semver trick. Try the exact 0.2.0 version if you see the following error:

      the package libwebp-sys2 links to the native library webp, but it conflicts with a previous package which links to webp as well:

How to upgrade

  • Ensure you have Rust >= 1.85.0. If your code is a library, ensure your library's MSRV >= 1.85.0.
  • Upgrade libwebp-sys2's version in your Cargo.toml to 0.2.0:
    libwebp-sys2 = "0.1.11"
    #              ^^^^^^^ -> 0.2.0
  • If you are using the must-use feature, remove it.
    libwebp-sys2 = { version = "0.2.0", features = ["must-use"] }
    #                                               ^^^^^^^^^^ remove
  • If you have default-features = false, add "std" feature.
    libwebp-sys2 = {
      version = "0.2.0",
      default-features = false,
    # ^^^^^^^^^^^^^^^^^^^^^^^^ if you have this, add features = ["std"]
    }
  • If you don't have default-features = false, it assumes libwebp >= 1.2.0 by default. If the behavior is not desirable, clarify default-features = false and select an appropriate feature.
    libwebp-sys2 = { version = "0.2.0", default-features = false, features = ["std", "0_6"] }
    #                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  • Fix #[must_use] warnings if you need.

0.1.11

... (truncated)

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 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)

Updates the requirements on [libwebp-sys2](https://github.com/qnighy/libwebp-sys2-rs) to permit the latest version.
- [Release notes](https://github.com/qnighy/libwebp-sys2-rs/releases)
- [Changelog](https://github.com/qnighy/libwebp-sys2-rs/blob/master/CHANGELOG.md)
- [Commits](qnighy/libwebp-sys2-rs@v0.1.1...v0.2.0)

---
updated-dependencies:
- dependency-name: libwebp-sys2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 24, 2025
@dependabot dependabot bot requested a review from qnighy February 24, 2025 18:20
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