2014-07-27 18:55:37 +10:00
|
|
|
[package]
|
2016-02-23 22:56:23 +11:00
|
|
|
name = "winit"
|
2020-05-17 02:27:16 +10:00
|
|
|
version = "0.22.2"
|
2018-09-11 14:23:48 +10:00
|
|
|
authors = ["The winit contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
2016-02-23 22:56:23 +11:00
|
|
|
description = "Cross-platform window creation library."
|
2019-06-18 04:27:00 +10:00
|
|
|
edition = "2018"
|
2016-02-23 22:56:23 +11:00
|
|
|
keywords = ["windowing"]
|
2014-11-13 19:01:30 +11:00
|
|
|
license = "Apache-2.0"
|
2014-11-14 18:54:04 +11:00
|
|
|
readme = "README.md"
|
2019-06-23 16:39:26 +10:00
|
|
|
repository = "https://github.com/rust-windowing/winit"
|
2016-09-20 02:53:28 +10:00
|
|
|
documentation = "https://docs.rs/winit"
|
2017-01-31 20:01:36 +11:00
|
|
|
categories = ["gui"]
|
2014-07-27 18:55:37 +10:00
|
|
|
|
2018-05-12 00:33:06 +10:00
|
|
|
[package.metadata.docs.rs]
|
2020-04-20 05:37:13 +10:00
|
|
|
features = ["serde", "web-sys"]
|
|
|
|
default-target = "x86_64-unknown-linux-gnu"
|
|
|
|
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"]
|
2018-05-08 07:36:21 +10:00
|
|
|
|
2019-06-27 08:02:46 +10:00
|
|
|
[features]
|
2020-06-15 17:15:27 +10:00
|
|
|
default = ["x11", "wayland"]
|
2019-07-02 04:43:54 +10:00
|
|
|
web-sys = ["web_sys", "wasm-bindgen", "instant/wasm-bindgen"]
|
|
|
|
stdweb = ["std_web", "instant/stdweb"]
|
2020-06-15 17:15:27 +10:00
|
|
|
x11 = ["x11-dl"]
|
|
|
|
wayland = ["wayland-client", "smithay-client-toolkit"]
|
2019-06-27 08:02:46 +10:00
|
|
|
|
2015-02-06 19:21:55 +11:00
|
|
|
[dependencies]
|
2019-06-17 14:30:05 +10:00
|
|
|
instant = "0.1"
|
2017-12-28 04:39:38 +11:00
|
|
|
lazy_static = "1"
|
2019-10-19 02:51:06 +11:00
|
|
|
libc = "0.2.64"
|
2018-07-02 01:01:46 +10:00
|
|
|
log = "0.4"
|
2018-11-01 19:24:56 +11:00
|
|
|
serde = { version = "1", optional = true, features = ["serde_derive"] }
|
2019-10-06 12:34:27 +11:00
|
|
|
raw-window-handle = "0.3"
|
2019-12-29 07:36:06 +11:00
|
|
|
bitflags = "1"
|
2014-10-04 23:49:39 +10:00
|
|
|
|
2019-02-24 12:59:00 +11:00
|
|
|
[dev-dependencies]
|
2020-03-04 10:13:53 +11:00
|
|
|
image = "0.23"
|
2020-01-07 07:28:58 +11:00
|
|
|
simple_logger = "1"
|
2019-02-24 12:59:00 +11:00
|
|
|
|
2020-05-06 23:27:49 +10:00
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
ndk = "0.1.0"
|
|
|
|
ndk-sys = "0.1.0"
|
|
|
|
ndk-glue = "0.1.0"
|
2015-01-01 09:10:29 +11:00
|
|
|
|
2016-05-03 07:58:52 +10:00
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
2018-07-20 02:02:33 +10:00
|
|
|
objc = "0.2.3"
|
2015-09-22 02:57:35 +10:00
|
|
|
|
2016-05-03 07:58:52 +10:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2020-05-08 12:32:09 +10:00
|
|
|
cocoa = "0.20"
|
|
|
|
core-foundation = "0.7"
|
|
|
|
core-graphics = "0.19"
|
2020-01-20 05:47:55 +11:00
|
|
|
dispatch = "0.2.0"
|
2020-01-04 17:32:34 +11:00
|
|
|
objc = "0.2.6"
|
2015-01-10 20:56:47 +11:00
|
|
|
|
2019-07-04 04:19:07 +10:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.core-video-sys]
|
2020-05-08 12:32:09 +10:00
|
|
|
version = "0.1.4"
|
2019-07-04 04:19:07 +10:00
|
|
|
default_features = false
|
|
|
|
features = ["display_link"]
|
|
|
|
|
2017-12-25 00:46:47 +11:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.winapi]
|
2018-10-18 11:23:59 +11:00
|
|
|
version = "0.3.6"
|
2017-12-25 00:46:47 +11:00
|
|
|
features = [
|
2018-06-13 01:58:18 +10:00
|
|
|
"combaseapi",
|
2019-02-06 02:30:33 +11:00
|
|
|
"commctrl",
|
2017-12-25 00:46:47 +11:00
|
|
|
"dwmapi",
|
2018-10-25 05:40:12 +11:00
|
|
|
"errhandlingapi",
|
2017-12-25 00:46:47 +11:00
|
|
|
"hidusage",
|
2018-06-13 01:58:18 +10:00
|
|
|
"libloaderapi",
|
2018-04-13 03:12:15 +10:00
|
|
|
"objbase",
|
2018-10-25 05:40:12 +11:00
|
|
|
"ole2",
|
2018-06-13 01:58:18 +10:00
|
|
|
"processthreadsapi",
|
|
|
|
"shellapi",
|
2018-06-15 09:42:18 +10:00
|
|
|
"shellscalingapi",
|
2018-06-13 01:58:18 +10:00
|
|
|
"shobjidl_core",
|
2018-04-13 03:12:15 +10:00
|
|
|
"unknwnbase",
|
2018-10-25 05:40:12 +11:00
|
|
|
"winbase",
|
2018-06-13 01:58:18 +10:00
|
|
|
"windowsx",
|
2018-10-25 05:40:12 +11:00
|
|
|
"winerror",
|
2018-06-13 01:58:18 +10:00
|
|
|
"wingdi",
|
|
|
|
"winnt",
|
|
|
|
"winuser",
|
2017-12-25 00:46:47 +11:00
|
|
|
]
|
2015-08-22 01:49:10 +10:00
|
|
|
|
2018-07-17 00:25:27 +10:00
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
|
2020-06-15 17:15:27 +10:00
|
|
|
wayland-client = { version = "0.23.0", features = [ "dlopen", "egl", "cursor", "eventloop"] , optional = true }
|
2020-01-04 17:31:23 +11:00
|
|
|
mio = "0.6"
|
|
|
|
mio-extras = "2.0"
|
2020-06-15 17:15:27 +10:00
|
|
|
smithay-client-toolkit = { version = "^0.6.6", optional = true }
|
|
|
|
x11-dl = { version = "2.18.5", optional = true }
|
2019-07-24 03:38:45 +10:00
|
|
|
percent-encoding = "2.0"
|
2019-02-06 02:30:33 +11:00
|
|
|
|
2019-05-26 07:23:09 +10:00
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "windows"))'.dependencies.parking_lot]
|
2019-11-26 12:05:44 +11:00
|
|
|
version = "0.10"
|
2019-02-13 12:47:31 +11:00
|
|
|
|
2019-07-02 04:43:54 +10:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web_sys]
|
|
|
|
package = "web-sys"
|
2019-06-04 15:51:01 +10:00
|
|
|
version = "0.3.22"
|
|
|
|
optional = true
|
|
|
|
features = [
|
2019-06-06 15:58:11 +10:00
|
|
|
'console',
|
2020-08-29 23:34:33 +10:00
|
|
|
"AddEventListenerOptions",
|
2020-01-01 09:39:33 +11:00
|
|
|
'CssStyleDeclaration',
|
2019-09-12 01:47:03 +10:00
|
|
|
'BeforeUnloadEvent',
|
2019-06-04 15:51:01 +10:00
|
|
|
'Document',
|
2019-06-05 16:08:09 +10:00
|
|
|
'DomRect',
|
|
|
|
'Element',
|
2019-06-04 15:51:01 +10:00
|
|
|
'Event',
|
|
|
|
'EventTarget',
|
|
|
|
'FocusEvent',
|
|
|
|
'HtmlCanvasElement',
|
2019-06-05 16:08:09 +10:00
|
|
|
'HtmlElement',
|
2019-06-04 15:51:01 +10:00
|
|
|
'KeyboardEvent',
|
2020-02-18 06:25:27 +11:00
|
|
|
'MediaQueryList',
|
|
|
|
'MediaQueryListEvent',
|
2019-06-04 15:51:01 +10:00
|
|
|
'MouseEvent',
|
2019-06-05 16:08:09 +10:00
|
|
|
'Node',
|
2019-06-04 15:51:01 +10:00
|
|
|
'PointerEvent',
|
|
|
|
'Window',
|
|
|
|
'WheelEvent'
|
|
|
|
]
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
|
|
|
|
version = "0.2.45"
|
|
|
|
optional = true
|
|
|
|
|
2019-07-02 04:43:54 +10:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.std_web]
|
|
|
|
package = "stdweb"
|
2019-10-12 02:45:07 +11:00
|
|
|
version = "=0.4.20"
|
2019-06-27 08:02:46 +10:00
|
|
|
optional = true
|
2019-10-12 02:45:07 +11:00
|
|
|
features = ["experimental_features_which_may_break_on_minor_version_bumps"]
|
2019-12-04 04:16:06 +11:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
|
|
console_log = "0.1"
|