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 wgpu to 22.1 #111

Merged
merged 3 commits into from
Oct 23, 2024
Merged

Bump wgpu to 22.1 #111

merged 3 commits into from
Oct 23, 2024

Commits on Oct 22, 2024

  1. Bump wgpu to 22.1

    A few wgpu structs that this crate uses had fields added,
    but they're ones where `Default::default` or `None` make sense,
    so I've inserted them to get the build to work on the new version.
    
    This is a breaking change for dependents relying on their own wgpu dependencies,
    so I've bumped the version number and updated other dependencies that transitively
    rely on wgpu.
    aftix committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    9309c76 View commit details
    Browse the repository at this point in the history
  2. examples: Updated to wgpu 22.1

    Added the new wgpu structure fields in various places within the examples.
    Also, since bumping wgpu meant bumping winit, the winit code in the examples
    had become outdated (the `EventLoop::run` method was deprecated). I updated
    the winit code to use `EventLoop::run_app`, which factors out the event
    loop into a trait. I added a `struct App` for handling the event loop and a
    `struct AppWindow` for handling setting up the window/gpu (needed for lifetime reasons)
    to all examples.
    The functionality is the same before and after the changes.
    aftix committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    4e8dd60 View commit details
    Browse the repository at this point in the history
  3. deny.toml: Added skips for some duplicate dependencies in Cargo.lock

    With the bump to wgpu 22.1, the hashbrown, syn, and bitflag
    crates all trigger `cargo deny` due to multiple versions being found
    in Cargo.lock. Different top-level dependencies are depending on different major
    versions of these crates, and the top-level dependencies are all the most
    recent version, so I don't think there's anything we can do to dedup these.
    aftix committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    3594de7 View commit details
    Browse the repository at this point in the history