# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60.0" name = "winit" version = "0.28.7" authors = [ "The winit contributors", "Pierre Krieger ", ] description = "Cross-platform window creation library." documentation = "https://docs.rs/winit" readme = "README.md" keywords = ["windowing"] categories = ["gui"] license = "Apache-2.0" repository = "https://github.com/rust-windowing/winit" [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu" features = ["serde"] rustdoc-args = [ "--cfg", "docsrs", ] targets = [ "i686-pc-windows-msvc", "x86_64-pc-windows-msvc", "x86_64-apple-darwin", "i686-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "x86_64-apple-ios", "aarch64-linux-android", "wasm32-unknown-unknown", ] [dependencies.bitflags] version = "1" [dependencies.instant] version = "0.1" features = ["wasm-bindgen"] [dependencies.log] version = "0.4" [dependencies.mint] version = "0.5.6" optional = true [dependencies.once_cell] version = "1.12" [dependencies.raw_window_handle] version = "0.5" package = "raw-window-handle" [dependencies.serde] version = "1" features = ["serde_derive"] optional = true [dev-dependencies.image] version = "0.24.0" features = ["png"] default-features = false [dev-dependencies.simple_logger] version = "2.1.0" default_features = false [build-dependencies.cfg_aliases] version = "0.1.1" [features] android-game-activity = ["android-activity/game-activity"] android-native-activity = ["android-activity/native-activity"] default = [ "x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita", ] wayland = [ "wayland-client", "wayland-protocols", "sctk", "wayland-commons", ] wayland-csd-adwaita = [ "sctk-adwaita", "sctk-adwaita/ab_glyph", ] wayland-csd-adwaita-crossfont = [ "sctk-adwaita", "sctk-adwaita/crossfont", ] wayland-csd-adwaita-notitle = ["sctk-adwaita"] wayland-dlopen = [ "sctk/dlopen", "wayland-client/dlopen", ] x11 = [ "x11-dl", "mio", "percent-encoding", ] [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.libc] version = "0.2.64" [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.mio] version = "0.8" features = ["os-ext"] optional = true [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.percent-encoding] version = "2.0" optional = true [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.sctk] version = "0.16.0" features = ["calloop"] optional = true default_features = false package = "smithay-client-toolkit" [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.sctk-adwaita] version = "0.5.1" optional = true default_features = false [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-client] version = "0.29.5" features = ["use_system_lib"] optional = true default_features = false [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-commons] version = "0.29.5" optional = true [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-protocols] version = "0.29.5" features = ["staging_protocols"] optional = true [target."cfg(all(unix, not(any(target_os = \"redox\", target_arch = \"wasm32\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.x11-dl] version = "2.18.5" optional = true [target."cfg(any(target_os = \"ios\", target_os = \"macos\"))".dependencies.core-foundation] version = "0.9.3" [target."cfg(any(target_os = \"ios\", target_os = \"macos\"))".dependencies.objc2] version = ">=0.3.0-beta.3, <0.3.0-beta.4" [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".build-dependencies.wayland-scanner] version = "0.29.5" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.45" [target."cfg(target_arch = \"wasm32\")".dependencies.web_sys] version = "0.3.22" features = [ "console", "AddEventListenerOptions", "CssStyleDeclaration", "BeforeUnloadEvent", "Document", "DomRect", "Element", "Event", "EventListenerOptions", "EventTarget", "FocusEvent", "HtmlCanvasElement", "HtmlElement", "KeyboardEvent", "MediaQueryList", "MediaQueryListEvent", "MouseEvent", "Node", "PointerEvent", "Window", "WheelEvent", ] package = "web-sys" [target."cfg(target_arch = \"wasm32\")".dev-dependencies.console_log] version = "0.2" [target."cfg(target_arch = \"wasm32\")".dev-dependencies.web-sys] version = "0.3.22" features = ["CanvasRenderingContext2d"] [target."cfg(target_os = \"android\")".dependencies.android-activity] version = "0.4.0" [target."cfg(target_os = \"android\")".dependencies.ndk] version = "0.7.0" [target."cfg(target_os = \"macos\")".dependencies.core-graphics] version = "0.22.3" [target."cfg(target_os = \"macos\")".dependencies.dispatch] version = "0.2.0" [target."cfg(target_os = \"redox\")".dependencies.orbclient] version = "0.3.42" default-features = false [target."cfg(target_os = \"redox\")".dependencies.redox_syscall] version = "0.3" [target."cfg(target_os = \"windows\")".dependencies.windows-sys] version = "0.45" features = [ "Win32_Devices_HumanInterfaceDevice", "Win32_Foundation", "Win32_Globalization", "Win32_Graphics_Dwm", "Win32_Graphics_Gdi", "Win32_Media", "Win32_System_Com_StructuredStorage", "Win32_System_Com", "Win32_System_LibraryLoader", "Win32_System_Ole", "Win32_System_SystemInformation", "Win32_System_SystemServices", "Win32_System_Threading", "Win32_System_WindowsProgramming", "Win32_UI_Accessibility", "Win32_UI_Controls", "Win32_UI_HiDpi", "Win32_UI_Input_Ime", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_Input_Pointer", "Win32_UI_Input_Touch", "Win32_UI_Shell", "Win32_UI_TextServices", "Win32_UI_WindowsAndMessaging", ]