mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
690a3fb3fb
* [wgpu-hal] Upgrade `glutin` to `0.31` `glutin 0.30` onwards completely refactored its internals to no longer be reliant on `winit`, as they (by default) have no direct relation except needing to perform _some_ operations (platform-specific) at strategic times in window creation and event loop handling. Most of that is handled by a new `glutin-winit` introp crate, while the core `glutin` crate now exclusively focuses on wrapping the various OpenGL context APIs (CGL, EGL, WGL, ...). This does result in a little more verbose handling to get the right `GLDisplay`, `GLConfig`, `GLContext` and `GLSurface`, but gives much more control and makes all intricacies more explicit. Most of the code was copied from `glutin 0.31`'s example crate, with the code for transparency support removed. Note that the example doesn't at all handle event loop events properly: resizes and redraws are not listened to, and mobile-specific surface events (`Resumed` and `Suspended`) are equally ignored. * [wgpu-hal] Implement proper `Surface` availability semantics in `raw-gles` example
51 lines
1.0 KiB
TOML
51 lines
1.0 KiB
TOML
[bans]
|
|
multiple-versions = "deny"
|
|
skip-tree = [
|
|
# We never enable loom in any of our dependencies but it causes dupes
|
|
{ name = "loom", version = "0.7.2" },
|
|
{ name = "windows-sys", version = "0.45" },
|
|
{ name = "winit", version = "0.29" },
|
|
{ name = "rustc_version", version = "0.2.3" },
|
|
{ name = "sourcemap", version = "7.1.1" },
|
|
{ name = "miniz_oxide", version = "0.7.4" },
|
|
]
|
|
skip = [
|
|
{ name = "hlsl-snapshots", version = "0.1.0" },
|
|
# Strum uses an old version
|
|
{ name = "heck", version = "0.4.0" },
|
|
]
|
|
wildcards = "deny"
|
|
allow-wildcard-paths = true
|
|
|
|
[licenses]
|
|
allow = [
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"CC0-1.0",
|
|
"ISC",
|
|
"MPL-2.0",
|
|
"MIT",
|
|
"MIT-0",
|
|
"Unicode-DFS-2016",
|
|
"Zlib",
|
|
]
|
|
|
|
[sources]
|
|
allow-git = [
|
|
# Waiting on releases; used in examples only
|
|
"https://github.com/Razaekel/noise-rs",
|
|
|
|
"https://github.com/grovesNL/glow",
|
|
"https://github.com/gfx-rs/metal-rs",
|
|
]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
required-git-spec = "rev"
|
|
|
|
[sources.allow-org]
|
|
github = [
|
|
"gfx-rs"
|
|
]
|