2022-11-30 21:46:58 +00:00
|
|
|
[bans]
|
|
|
|
multiple-versions = "deny"
|
|
|
|
skip-tree = [
|
2024-05-16 13:05:41 +00:00
|
|
|
# We never enable loom in any of our dependencies but it causes dupes
|
|
|
|
{ name = "loom", version = "0.7.2" },
|
2023-10-27 04:15:51 +00:00
|
|
|
{ name = "windows-sys", version = "0.45" },
|
2024-04-28 22:06:35 +00:00
|
|
|
{ name = "winit", version = "0.29" },
|
2023-10-27 04:15:51 +00:00
|
|
|
{ name = "rustc_version", version = "0.2.3" },
|
2024-03-14 17:00:43 +00:00
|
|
|
{ name = "sourcemap", version = "7.1.1" },
|
[wgpu-hal] Upgrade `glutin` to `0.31` (#6150)
* [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
2024-08-27 17:05:47 +00:00
|
|
|
{ name = "miniz_oxide", version = "0.7.4" },
|
2022-11-30 21:46:58 +00:00
|
|
|
]
|
2023-06-10 18:35:46 +00:00
|
|
|
skip = [
|
2024-01-17 20:23:50 +00:00
|
|
|
{ name = "hlsl-snapshots", version = "0.1.0" },
|
2024-04-18 00:14:55 +00:00
|
|
|
# Strum uses an old version
|
|
|
|
{ name = "heck", version = "0.4.0" },
|
2023-06-10 18:35:46 +00:00
|
|
|
]
|
2022-11-30 21:46:58 +00:00
|
|
|
wildcards = "deny"
|
2024-01-17 20:23:50 +00:00
|
|
|
allow-wildcard-paths = true
|
2022-11-30 21:46:58 +00:00
|
|
|
|
|
|
|
[licenses]
|
|
|
|
allow = [
|
|
|
|
"Apache-2.0",
|
|
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
|
|
"BSD-2-Clause",
|
|
|
|
"BSD-3-Clause",
|
|
|
|
"CC0-1.0",
|
|
|
|
"ISC",
|
2024-04-18 00:14:55 +00:00
|
|
|
"MPL-2.0",
|
2022-11-30 21:46:58 +00:00
|
|
|
"MIT",
|
2023-10-08 06:05:51 +00:00
|
|
|
"MIT-0",
|
2022-11-30 21:46:58 +00:00
|
|
|
"Unicode-DFS-2016",
|
|
|
|
"Zlib",
|
|
|
|
]
|
|
|
|
|
|
|
|
[sources]
|
|
|
|
allow-git = [
|
2023-10-27 04:15:51 +00:00
|
|
|
# Waiting on releases; used in examples only
|
|
|
|
"https://github.com/Razaekel/noise-rs",
|
|
|
|
|
2022-11-30 21:46:58 +00:00
|
|
|
"https://github.com/grovesNL/glow",
|
2023-09-16 20:01:46 +00:00
|
|
|
"https://github.com/gfx-rs/metal-rs",
|
2022-11-30 21:46:58 +00:00
|
|
|
]
|
|
|
|
unknown-registry = "deny"
|
|
|
|
unknown-git = "deny"
|
|
|
|
required-git-spec = "rev"
|
|
|
|
|
|
|
|
[sources.allow-org]
|
|
|
|
github = [
|
|
|
|
"gfx-rs"
|
|
|
|
]
|