diff --git a/Cargo.lock b/Cargo.lock index c73fba7b4c87..18411754845d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -483,6 +483,17 @@ dependencies = [ "ppv-lite86", ] +[[package]] +name = "calloop" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7aa2097be53a00de9e8fc349fea6d76221f398f5c4fa550d420669906962d160" +dependencies = [ + "mio", + "mio-extras", + "nix", +] + [[package]] name = "canvas" version = "0.0.1" @@ -933,6 +944,19 @@ dependencies = [ "libc", ] +[[package]] +name = "core-video-sys" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc065219542086f72d1e9f7aadbbab0989e980263695d129d502082d063a9d0" +dependencies = [ + "cfg-if", + "core-foundation-sys 0.6.2", + "core-graphics 0.17.3", + "libc", + "objc", +] + [[package]] name = "crc32fast" version = "1.2.0" @@ -1243,6 +1267,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "dispatch" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" + [[package]] name = "display-link" version = "0.2.0" @@ -1816,7 +1846,7 @@ dependencies = [ "gfx-hal", "libloading", "log", - "parking_lot", + "parking_lot 0.9.0", "range-alloc", "raw-window-handle", "smallvec 0.6.13", @@ -1872,7 +1902,7 @@ dependencies = [ "log", "metal", "objc", - "parking_lot", + "parking_lot 0.9.0", "range-alloc", "raw-window-handle", "smallvec 0.6.13", @@ -2635,6 +2665,12 @@ dependencies = [ "url", ] +[[package]] +name = "instant" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7152d2aed88aa566e7a342250f21ba2222c1ae230ad577499dbfa3c18475b80" + [[package]] name = "io-surface" version = "0.12.1" @@ -2792,7 +2828,7 @@ dependencies = [ "msg", "net_traits", "num-traits", - "parking_lot", + "parking_lot 0.9.0", "profile_traits", "range", "rayon", @@ -2835,7 +2871,7 @@ dependencies = [ "mitochondria", "msg", "net_traits", - "parking_lot", + "parking_lot 0.9.0", "range", "rayon", "rayon_croissant", @@ -2877,7 +2913,7 @@ dependencies = [ "metrics", "msg", "net_traits", - "parking_lot", + "parking_lot 0.9.0", "profile_traits", "range", "rayon", @@ -2922,7 +2958,7 @@ dependencies = [ "metrics", "msg", "net_traits", - "parking_lot", + "parking_lot 0.9.0", "profile_traits", "range", "script", @@ -2988,9 +3024,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.62" +version = "0.2.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34fcd2c08d2f832f376f4173a231990fa5aef4e99fb569867318a227ef4c06ba" +checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" [[package]] name = "libdbus-sys" @@ -3132,9 +3168,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.3.1" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8912e782533a93a167888781b836336a6ca5da6175c05944c86cf28c31104dc" +checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" dependencies = [ "scopeguard", ] @@ -3526,7 +3562,7 @@ dependencies = [ "lazy_static", "malloc_size_of", "malloc_size_of_derive", - "parking_lot", + "parking_lot 0.9.0", "serde", "servo_url", "size_of_test", @@ -3856,10 +3892,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" dependencies = [ "lock_api", - "parking_lot_core", + "parking_lot_core 0.6.2", "rustc_version", ] +[[package]] +name = "parking_lot" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e" +dependencies = [ + "lock_api", + "parking_lot_core 0.7.2", +] + [[package]] name = "parking_lot_core" version = "0.6.2" @@ -3875,6 +3921,20 @@ dependencies = [ "winapi", ] +[[package]] +name = "parking_lot_core" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3" +dependencies = [ + "cfg-if", + "cloudabi", + "libc", + "redox_syscall", + "smallvec 1.3.0", + "winapi", +] + [[package]] name = "paste" version = "0.1.6" @@ -4564,7 +4624,7 @@ dependencies = [ "msg", "net_traits", "num-traits", - "parking_lot", + "parking_lot 0.9.0", "percent-encoding", "phf", "phf_codegen", @@ -4810,7 +4870,7 @@ dependencies = [ "webxr", "webxr-api", "winapi", - "winit", + "winit 0.22.1", "winres", ] @@ -5305,9 +5365,25 @@ dependencies = [ "lazy_static", "memmap", "nix", - "wayland-client", - "wayland-commons", - "wayland-protocols", + "wayland-client 0.21.13", + "wayland-commons 0.21.13", + "wayland-protocols 0.21.4", +] + +[[package]] +name = "smithay-client-toolkit" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "421c8dc7acf5cb205b88160f8b4cc2c5cfabe210e43b2f80f009f4c1ef910f1d" +dependencies = [ + "andrew", + "bitflags", + "dlib", + "lazy_static", + "memmap", + "nix", + "wayland-client 0.23.6", + "wayland-protocols 0.23.6", ] [[package]] @@ -5446,7 +5522,7 @@ dependencies = [ "num-traits", "num_cpus", "owning_ref", - "parking_lot", + "parking_lot 0.9.0", "precomputed-hash", "rayon", "regex", @@ -5547,10 +5623,10 @@ dependencies = [ "log", "mach", "objc", - "parking_lot", + "parking_lot 0.9.0", "wayland-sys 0.24.0", "winapi", - "winit", + "winit 0.19.3", "wio", "x11", ] @@ -6210,11 +6286,28 @@ dependencies = [ "downcast-rs", "libc", "nix", - "wayland-commons", - "wayland-scanner", + "wayland-commons 0.21.13", + "wayland-scanner 0.21.13", "wayland-sys 0.21.13", ] +[[package]] +name = "wayland-client" +version = "0.23.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af1080ebe0efabcf12aef2132152f616038f2d7dcbbccf7b2d8c5270fe14bcda" +dependencies = [ + "bitflags", + "calloop", + "downcast-rs", + "libc", + "mio", + "nix", + "wayland-commons 0.23.6", + "wayland-scanner 0.23.6", + "wayland-sys 0.23.6", +] + [[package]] name = "wayland-commons" version = "0.21.13" @@ -6225,6 +6318,16 @@ dependencies = [ "wayland-sys 0.21.13", ] +[[package]] +name = "wayland-commons" +version = "0.23.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb66b0d1a27c39bbce712b6372131c6e25149f03ffb0cd017cf8f7de8d66dbdb" +dependencies = [ + "nix", + "wayland-sys 0.23.6", +] + [[package]] name = "wayland-protocols" version = "0.21.4" @@ -6232,12 +6335,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3f6cebb98963f028d397e9bad2acf9d3b2f6b76fae65aea191edd9e7c0df88c" dependencies = [ "bitflags", - "wayland-client", - "wayland-commons", - "wayland-scanner", + "wayland-client 0.21.13", + "wayland-commons 0.21.13", + "wayland-scanner 0.21.13", "wayland-sys 0.21.13", ] +[[package]] +name = "wayland-protocols" +version = "0.23.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cc286643656742777d55dc8e70d144fa4699e426ca8e9d4ef454f4bf15ffcf9" +dependencies = [ + "bitflags", + "wayland-client 0.23.6", + "wayland-commons 0.23.6", + "wayland-scanner 0.23.6", +] + [[package]] name = "wayland-scanner" version = "0.21.13" @@ -6249,6 +6364,17 @@ dependencies = [ "xml-rs", ] +[[package]] +name = "wayland-scanner" +version = "0.23.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93b02247366f395b9258054f964fe293ddd019c3237afba9be2ccbe9e1651c3d" +dependencies = [ + "proc-macro2 0.4.26", + "quote 0.6.12", + "xml-rs", +] + [[package]] name = "wayland-sys" version = "0.21.13" @@ -6259,6 +6385,16 @@ dependencies = [ "lazy_static", ] +[[package]] +name = "wayland-sys" +version = "0.23.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d94e89a86e6d6d7c7c9b19ebf48a03afaac4af6bc22ae570e9a24124b75358f4" +dependencies = [ + "dlib", + "lazy_static", +] + [[package]] name = "wayland-sys" version = "0.24.0" @@ -6453,7 +6589,7 @@ dependencies = [ "serde", "surfman-chains-api", "time", - "winit", + "winit 0.19.3", ] [[package]] @@ -6472,7 +6608,7 @@ dependencies = [ "gfx-backend-vulkan", "gfx-hal", "log", - "parking_lot", + "parking_lot 0.9.0", "peek-poke 0.2.0 (git+https://github.com/kvark/peek-poke?rev=969bd7fe2be1a83f87916dc8b388c63cfd457075)", "rendy-descriptor", "rendy-memory", @@ -6544,10 +6680,39 @@ dependencies = [ "libc", "log", "objc", - "parking_lot", + "parking_lot 0.9.0", "percent-encoding", - "smithay-client-toolkit", - "wayland-client", + "smithay-client-toolkit 0.4.6", + "wayland-client 0.21.13", + "winapi", + "x11-dl", +] + +[[package]] +name = "winit" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc53342d3d1a3d57f3949e0692d93d5a8adb7814d8683cef4a09c2b550e94246" +dependencies = [ + "android_glue", + "bitflags", + "cocoa 0.19.1", + "core-foundation 0.6.4", + "core-graphics 0.17.3", + "core-video-sys", + "dispatch", + "instant", + "lazy_static", + "libc", + "log", + "mio", + "mio-extras", + "objc", + "parking_lot 0.10.2", + "percent-encoding", + "raw-window-handle", + "smithay-client-toolkit 0.6.6", + "wayland-client 0.23.6", "winapi", "x11-dl", ] diff --git a/ports/glutin/Cargo.toml b/ports/glutin/Cargo.toml index da54474cf1dc..e66624a346c8 100644 --- a/ports/glutin/Cargo.toml +++ b/ports/glutin/Cargo.toml @@ -64,7 +64,7 @@ surfman = { version = "0.2", features = ["sm-winit", "sm-x11"] } tinyfiledialogs = "3.0" webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow", "headless"] } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } -winit = "0.19" +winit = "0.22" [target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies] image = "0.23"