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

Bump the cargo group with 5 updates #2494

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps the cargo group with 5 updates:

Package From To
wgpu 23.0.1 24.0.0
log 0.4.22 0.4.25
semver 1.0.24 1.0.25
octocrab 0.42.1 0.43.0
serde_json 1.0.135 1.0.137

Updates wgpu from 23.0.1 to 24.0.0

Changelog

Sourced from wgpu's changelog.

v24.0.0 (2025-01-15)

Major changes

Refactored Dispatch Between wgpu-core and webgpu

The crate wgpu has two different "backends", one which targets webgpu in the browser, one which targets wgpu_core on native platforms and webgl. This was previously very difficult to traverse and add new features to. The entire system was refactored to make it simpler. Additionally the new system has zero overhead if there is only one "backend" in use. You can see the new system in action by using go-to-definition on any wgpu functions in your IDE.

By @​cwfitzgerald in #6619.

Most objects in wgpu are now Clone

All types in the wgpu API are now Clone. This is implemented with internal reference counting, so cloning for instance a Buffer does copies only the "handle" of the GPU buffer, not the underlying resource.

Previously, libraries using wgpu objects like Device, Buffer or Texture etc. often had to manually wrap them in a Arc to allow passing between libraries. This caused a lot of friction since if one library wanted to use a Buffer by value, calling code had to give up ownership of the resource which may interfere with other subsystems. Note that this also mimics how the WebGPU javascript API works where objects can be cloned and moved around freely.

By @​cwfitzgerald in #6665.

Render and Compute Passes Now Properly Enforce Their Lifetime

A regression introduced in 23.0.0 caused lifetimes of render and compute passes to be incorrectly enforced. While this is not a soundness issue, the intent is to move an error from runtime to compile time. This issue has been fixed and restored to the 22.0.0 behavior.

Bindless (binding_array) Grew More Capabilities

  • DX12 now supports PARTIALLY_BOUND_BINDING_ARRAY on Resource Binding Tier 3 Hardware. This is most D3D12 hardware D3D12 Feature Table for more information on what hardware supports this feature. By @​cwfitzgerald in #6734.

Device::create_shader_module_unchecked Renamed and Now Has Configuration Options

create_shader_module_unchecked became create_shader_module_trusted.

This allows you to customize which exact checks are omitted so that you can get the correct balance of performance and safety for your use case. Calling the function is still unsafe, but now can be used to skip certain checks only on certain builds.

This also allows users to disable the workarounds in the msl-out backend to prevent the compiler from optimizing infinite loops. This can have a big impact on performance, but is not recommended for untrusted shaders.

let desc: ShaderModuleDescriptor = include_wgsl!(...)
- let module = unsafe { device.create_shader_module_unchecked(desc) };
+ let module = unsafe { device.create_shader_module_trusted(desc, wgpu::ShaderRuntimeChecks::unchecked()) };

By @​cwfitzgerald and @​rudderbucky in #6662.

wgpu::Instance::new now takes InstanceDescriptor by reference

... (truncated)

Commits

Updates log from 0.4.22 to 0.4.25

Release notes

Sourced from log's releases.

0.4.25

What's Changed

Full Changelog: rust-lang/log@0.4.24...0.4.25

0.4.24 (yanked)

What's Changed

Full Changelog: rust-lang/log@0.4.23...0.4.24

0.4.23 (yanked)

What's Changed

New Contributors

Full Changelog: rust-lang/log@0.4.22...0.4.23

Changelog

Sourced from log's changelog.

[0.4.25] - 2025-01-14

What's Changed

Full Changelog: rust-lang/log@0.4.24...0.4.25

[0.4.24] - 2025-01-11

What's Changed

Full Changelog: rust-lang/log@0.4.23...0.4.24

[0.4.23] - 2025-01-10 (yanked)

What's Changed

New Contributors

Full Changelog: rust-lang/log@0.4.22...0.4.23

Commits
  • 22be810 Merge pull request #663 from rust-lang/cargo/0.4.25
  • 0279730 prepare for 0.4.25 release
  • 4099bcb Merge pull request #662 from rust-lang/fix/cargo-features
  • 36e7e3f revert loosening of kv cargo features
  • 2282191 Merge pull request #660 from rust-lang/cargo/0.4.24
  • 2994f0a prepare for 0.4.24 release
  • 5fcb50e Merge pull request #659 from rust-lang/fix/feature-builds
  • 29fe9e6 fix up feature activation
  • b1824f2 use cargo hack in CI to test all feature combinations
  • e6b643d Merge pull request #656 from rust-lang/cargo/0.4.23
  • Additional commits viewable in compare view

Updates semver from 1.0.24 to 1.0.25

Release notes

Sourced from semver's releases.

1.0.25

  • Enable serde impls on play.rust-lang.org (#330, thanks @​jofas)
Commits

Updates octocrab from 0.42.1 to 0.43.0

Release notes

Sourced from octocrab's releases.

v0.43.0

Other

  • Enable client reuse when authenticating via a Github app using user access tokens (#740)
  • [breaking] Box the github error & fix clippy lints (#743)
  • issues can now be closed as duplicate (#741)
  • Add "merged" field to PullRequest (#737)
Changelog

Sourced from octocrab's changelog.

0.43.0 - 2025-01-13

Other

  • Enable client reuse when authenticating via a Github app using user access tokens (#740)
  • [breaking] Box the github error & fix clippy lints (#743)
  • issues can now be closed as duplicate (#741)
  • Add "merged" field to PullRequest (#737)
Commits
  • ce8c885 chore: release v0.43.0 (#739)
  • 4106251 Enable client reuse when authenticating via a Github app using user access to...
  • 65489d6 chore!: Box the github error & fix clippy lints (#743)
  • a916714 issues can now be closed as duplicate (#741)
  • fae5b08 Add "merged" field to PullRequest (#737)
  • See full diff in compare view

Updates serde_json from 1.0.135 to 1.0.137

Release notes

Sourced from serde_json's releases.

v1.0.137

  • Turn on "float_roundtrip" and "unbounded_depth" features for serde_json in play.rust-lang.org (#1231)

v1.0.136

  • Optimize serde_json::value::Serializer::serialize_map by using Map::with_capacity (#1230, thanks @​goffrie)
Commits
  • eb49e28 Release 1.0.137
  • 51c48ab Merge pull request #1231 from dtolnay/playground
  • 7d8f15b Enable "float_roundtrip" and "unbounded_depth" features in playground
  • a46f14c Release 1.0.136
  • eb9f3f6 Merge pull request #1230 from goffrie/patch-1
  • 513e5b2 Use Map::with_capacity in value::Serializer::serialize_map
  • See full diff in compare view

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 group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [wgpu](https://github.com/gfx-rs/wgpu) | `23.0.1` | `24.0.0` |
| [log](https://github.com/rust-lang/log) | `0.4.22` | `0.4.25` |
| [semver](https://github.com/dtolnay/semver) | `1.0.24` | `1.0.25` |
| [octocrab](https://github.com/XAMPPRocky/octocrab) | `0.42.1` | `0.43.0` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.135` | `1.0.137` |


Updates `wgpu` from 23.0.1 to 24.0.0
- [Release notes](https://github.com/gfx-rs/wgpu/releases)
- [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md)
- [Commits](gfx-rs/wgpu@wgpu-v23.0.1...v24.0.0)

Updates `log` from 0.4.22 to 0.4.25
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](rust-lang/log@0.4.22...0.4.25)

Updates `semver` from 1.0.24 to 1.0.25
- [Release notes](https://github.com/dtolnay/semver/releases)
- [Commits](dtolnay/semver@1.0.24...1.0.25)

Updates `octocrab` from 0.42.1 to 0.43.0
- [Release notes](https://github.com/XAMPPRocky/octocrab/releases)
- [Changelog](https://github.com/XAMPPRocky/octocrab/blob/main/CHANGELOG.md)
- [Commits](XAMPPRocky/octocrab@v0.42.1...v0.43.0)

Updates `serde_json` from 1.0.135 to 1.0.137
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.135...v1.0.137)

---
updated-dependencies:
- dependency-name: wgpu
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: cargo
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: octocrab
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from hannobraun as a code owner January 20, 2025 12:08
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 20, 2025
@hannobraun
Copy link
Owner

The wgpu upgrade needs manual intervention. I opened #2495.

@hannobraun
Copy link
Owner

@dependabot ignore wgpu patch version

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 20, 2025

OK, I won't notify you about version 24.0.0 of wgpu again, unless you unignore it.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 20, 2025

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Jan 20, 2025
@dependabot dependabot bot deleted the dependabot/cargo/cargo-0408923455 branch January 20, 2025 12:39
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.

1 participant