# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "winit" version = "0.24.0" 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", "web-sys"] targets = ["i686-pc-windows-msvc", "x86_64-pc-windows-msvc", "i686-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "wasm32-unknown-unknown"] [dependencies.bitflags] version = "1" [dependencies.instant] version = "0.1" [dependencies.lazy_static] version = "1" [dependencies.libc] version = "0.2.64" [dependencies.log] version = "0.4" [dependencies.raw-window-handle] version = "0.3" [dependencies.serde] version = "1" features = ["serde_derive"] optional = true [dev-dependencies.image] version = "0.23.12" [dev-dependencies.simple_logger] version = "1.9" [features] default = ["x11", "wayland"] stdweb = ["std_web", "instant/stdweb"] wayland = ["wayland-client", "sctk"] web-sys = ["web_sys", "wasm-bindgen", "instant/wasm-bindgen"] x11 = ["x11-dl", "mio", "mio-extras", "percent-encoding", "parking_lot"] [target."cfg(any(target_os = \"ios\", target_os = \"macos\"))".dependencies.objc] version = "0.2.7" [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.mio] version = "0.6" optional = true [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.mio-extras] version = "2.0" optional = true [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.parking_lot] version = "0.11.0" optional = true [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.percent-encoding] version = "2.0" optional = true [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.sctk] version = "0.12" optional = true package = "smithay-client-toolkit" [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.wayland-client] version = "0.28" features = ["dlopen"] optional = true [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.x11-dl] version = "2.18.5" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.std_web] version = "=0.4.20" features = ["experimental_features_which_may_break_on_minor_version_bumps"] optional = true package = "stdweb" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.45" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.web_sys] version = "0.3.22" features = ["console", "AddEventListenerOptions", "CssStyleDeclaration", "BeforeUnloadEvent", "Document", "DomRect", "Element", "Event", "EventTarget", "FocusEvent", "HtmlCanvasElement", "HtmlElement", "KeyboardEvent", "MediaQueryList", "MediaQueryListEvent", "MouseEvent", "Node", "PointerEvent", "Window", "WheelEvent"] optional = true package = "web-sys" [target."cfg(target_arch = \"wasm32\")".dev-dependencies.console_log] version = "0.2" [target."cfg(target_os = \"android\")".dependencies.ndk] version = "0.2.0" [target."cfg(target_os = \"android\")".dependencies.ndk-glue] version = "0.2.0" [target."cfg(target_os = \"android\")".dependencies.ndk-sys] version = "0.2.0" [target."cfg(target_os = \"macos\")".dependencies.cocoa] version = "0.24" [target."cfg(target_os = \"macos\")".dependencies.core-foundation] version = "0.9" [target."cfg(target_os = \"macos\")".dependencies.core-graphics] version = "0.22" [target."cfg(target_os = \"macos\")".dependencies.core-video-sys] version = "0.1.4" features = ["display_link"] default_features = false [target."cfg(target_os = \"macos\")".dependencies.dispatch] version = "0.2.0" [target."cfg(target_os = \"windows\")".dependencies.parking_lot] version = "0.11" [target."cfg(target_os = \"windows\")".dependencies.winapi] version = "0.3.6" features = ["combaseapi", "commctrl", "dwmapi", "errhandlingapi", "imm", "hidusage", "libloaderapi", "objbase", "ole2", "processthreadsapi", "shellapi", "shellscalingapi", "shobjidl_core", "unknwnbase", "winbase", "windowsx", "winerror", "wingdi", "winnt", "winuser"]