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