diff --git a/Cargo.toml b/Cargo.toml index 5c814180..6c45ec94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,13 +49,13 @@ android-game-activity = [ "android-activity/game-activity" ] cfg_aliases = "0.1.1" [dependencies] -instant = { version = "0.1", features = ["wasm-bindgen"] } -once_cell = "1.12" -log = "0.4" -serde = { version = "1", optional = true, features = ["serde_derive"] } -raw_window_handle = { package = "raw-window-handle", version = "0.5" } bitflags = "1" +instant = { version = "0.1", features = ["wasm-bindgen"] } +log = "0.4" mint = { version = "0.5.6", optional = true } +once_cell = "1.12" +raw_window_handle = { package = "raw-window-handle", version = "0.5" } +serde = { version = "1", optional = true, features = ["serde_derive"] } [dev-dependencies] image = { version = "0.24.0", default-features = false, features = ["png"] } @@ -63,12 +63,12 @@ simple_logger = { version = "2.1.0", default_features = false } [target.'cfg(target_os = "android")'.dependencies] # Coordinate the next winit release with android-ndk-rs: https://github.com/rust-windowing/winit/issues/1995 -ndk = "0.7.0" android-activity = "0.4.0" +ndk = "0.7.0" [target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies] -objc2 = "=0.3.0-beta.3" core-foundation = "0.9.3" +objc2 = "=0.3.0-beta.3" [target.'cfg(target_os = "macos")'.dependencies] core-graphics = "0.22.3" @@ -104,14 +104,14 @@ features = [ ] [target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies] -wayland-client = { version = "0.29.4", default_features = false, features = ["use_system_lib"], optional = true } -wayland-protocols = { version = "0.29.4", features = [ "staging_protocols"], optional = true } +libc = "0.2.64" +mio = { version = "0.8", features = ["os-ext"], optional = true } +percent-encoding = { version = "2.0", optional = true } sctk = { package = "smithay-client-toolkit", version = "0.16.0", default_features = false, features = ["calloop"], optional = true } sctk-adwaita = { version = "0.5.1", default_features = false, optional = true } -mio = { version = "0.8", features = ["os-ext"], optional = true } +wayland-client = { version = "0.29.4", default_features = false, features = ["use_system_lib"], optional = true } +wayland-protocols = { version = "0.29.4", features = [ "staging_protocols"], optional = true } x11-dl = { version = "2.18.5", optional = true } -percent-encoding = { version = "2.0", optional = true } -libc = "0.2.64" [target.'cfg(target_os = "redox")'.dependencies] orbclient = { version = "0.3.42", default-features = false }