diff --git a/Cargo.lock b/Cargo.lock index f3b3489a5..cf4fff70e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -559,7 +559,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e16e44ab292b1dddfdaf7be62cfd8877df52f2f3fde5858d95bab606be259f20" dependencies = [ "bitflags 2.4.0", - "libloading 0.8.0", + "libloading 0.7.4", "winapi", ] @@ -751,7 +751,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" dependencies = [ - "libloading 0.8.0", + "libloading 0.7.4", ] [[package]] @@ -1481,9 +1481,9 @@ dependencies = [ [[package]] name = "libloading" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d580318f95776505201b28cf98eb1fa5e4be3b689633ba6a3e6cd880ff22d8cb" +checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" dependencies = [ "cfg-if", "windows-sys 0.48.0", @@ -3270,7 +3270,7 @@ dependencies = [ "js-sys", "khronos-egl", "libc", - "libloading 0.8.0", + "libloading 0.8.1", "log", "metal", "naga", diff --git a/Cargo.toml b/Cargo.toml index 8794c68e1..57c13b46a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,7 @@ rustc-hash = "1.1.0" glam = "0.24.2" image = { version = "0.24", default-features = false, features = ["png"] } # libloading 0.8 switches from `winapi` to `windows-sys`; permit either -libloading = ">=0.7,<0.9" +libloading = ">=0.7, <0.9" libc = "0.2" log = "0.4" nanorand = { version = "0.7", default-features = false, features = ["wyrand"] } diff --git a/wgpu-hal/Cargo.toml b/wgpu-hal/Cargo.toml index 18e63b3d4..236ecc33c 100644 --- a/wgpu-hal/Cargo.toml +++ b/wgpu-hal/Cargo.toml @@ -81,13 +81,13 @@ gpu-descriptor = { version = "0.2", optional = true } smallvec = { version = "1", optional = true, features = ["union"] } khronos-egl = { version = "4.1", features = ["dynamic"], optional = true } -libloading = { version = ">=0.7,<0.9", optional = true } +libloading = { version = ">=0.7, <0.9", optional = true } renderdoc-sys = { version = "1.0.0", optional = true } [target.'cfg(target_os = "emscripten")'.dependencies] khronos-egl = { version = "4.1", features = ["static", "no-pkg-config"] } #Note: it's unused by emscripten, but we keep it to have single code base in egl.rs -libloading = { version = ">=0.7,<0.9", optional = true } +libloading = { version = ">=0.7, <0.9", optional = true } [target.'cfg(windows)'.dependencies] # backend: Dx12