Skip to content

deps: Bump ggez from 0.9.3 to 0.10.0 - #19

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/ggez-0.10.0
Open

deps: Bump ggez from 0.9.3 to 0.10.0#19
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/ggez-0.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 18, 2026

Copy link
Copy Markdown

Bumps ggez from 0.9.3 to 0.10.0.

Changelog

Sourced from ggez's changelog.

0.10.0

Added

You are now able to add your own custom contexts! Using the new ContextFields type and implementing HasMut<KeyboardContext>, HasMut<MouseContext>, HasMut<TimeContext>, HasMut<GraphicsContext>, and HasMut<GamepadContext> if gamepad is enabled

Coroutines

You can create a new coroutine by doing

slow_coroutine: Coroutine::new(async move {
    // wait 100 frames
    for _ in 0..100 {
        yield_now().await
    }
String::from(&quot;I came from a coroutine!&quot;)

})

and then in the update handler you can poll it and wait for the value

fn update(&mut self, _ctx: &mut Context) -> GameResult {
    if let Some(val) = self.slow_coroutine.poll() {
        println!("Coroutine says: \"{val}\"");
    }
    Ok(())
}

This will print Coroutine says: "I came from a coroutine!" after 100 frames.

3d

ggez is capable of basic 3d rendering. The APIs and types differ from 2d in the following ways. Canvas3d and Drawable3d are the 3d equivalents of Canvas and Drawable. A simple example of drawing might look like this:

fn draw(&mut self, ctx: &mut Context) -> GameResult {
  let mut canvas3d = Canvas3d::from_frame(ctx, Color::BLACK);
  canvas3d.set_projection(self.camera.calc_matrix());
  canvas3d.draw(&drawable, draw_param);
  canvas3d.finish(ctx)?;
}

Some types that implement Drawable3d by default are Mesh3d and Model. Mesh3d is used for a singular mesh. Model is used for more complicated objects that may be made up of multiple meshes. Model also provides a way to load basic gltf/glb files and obj files. (Note: not all of gltf is supported. obj models must be triangulated in your software of choice, and no material files will be read).

There is a huge list of gltf features right now we only support the very basics of loading mesh data with any transforms applied directly to the vertices. Here are some limitations:

... (truncated)

Commits
  • aa9cd1d Release version 0.10
  • f59afd1 Fix clippy lint
  • e76073d Merge pull request #1343 from da-shalev/codex/pre-present-notify
  • 25a2b9e Call pre_present_notify before presenting frames
  • 64165d8 Fix clippy and minor CI refactor (#1342)
  • f066eec Merge pull request #1341 from damian-giebas-solidstudio/fix/1273-drop-subopti...
  • 403dc5a Drop SurfaceTexture before reconfiguring surface
  • b43e673 Remove unused EventHandler::text_input_event
  • 8f079f7 Improve cargo features
  • f84aff9 Fix compilation without feature gamepad
  • Additional commits viewable in compare view

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 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 [ggez](https://github.com/ggez/ggez) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/ggez/ggez/releases)
- [Changelog](https://github.com/ggez/ggez/blob/master/CHANGELOG.md)
- [Commits](ggez/ggez@0.9.3...0.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jul 18, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants