2014-07-27 18:55:37 +10:00
|
|
|
[package]
|
2016-02-23 22:56:23 +11:00
|
|
|
name = "winit"
|
2019-04-08 15:08:31 +10:00
|
|
|
version = "0.19.1"
|
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."
|
|
|
|
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"
|
2016-02-23 22:56:23 +11:00
|
|
|
repository = "https://github.com/tomaka/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]
|
2019-02-24 12:59:00 +11:00
|
|
|
features = ["serde"]
|
2018-05-08 07:36:21 +10:00
|
|
|
|
2019-06-27 08:02:46 +10:00
|
|
|
[features]
|
|
|
|
use_web-sys = ["web-sys", "wasm-bindgen", "instant/wasm-bindgen"]
|
|
|
|
use_stdweb = ["stdweb", "instant/stdweb"]
|
|
|
|
|
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"
|
2015-11-09 18:22:48 +11:00
|
|
|
libc = "0.2"
|
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"] }
|
2014-10-04 23:49:39 +10:00
|
|
|
|
2019-02-24 12:59:00 +11:00
|
|
|
[dev-dependencies]
|
|
|
|
image = "0.21"
|
2019-05-02 09:03:30 +10:00
|
|
|
env_logger = "0.5"
|
2019-02-24 12:59:00 +11:00
|
|
|
|
2016-05-03 07:58:52 +10:00
|
|
|
[target.'cfg(target_os = "android")'.dependencies.android_glue]
|
2016-04-26 21:39:13 +10:00
|
|
|
version = "0.2"
|
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]
|
2018-11-06 06:34:54 +11:00
|
|
|
cocoa = "0.18.4"
|
2018-05-16 23:41:45 +10:00
|
|
|
core-foundation = "0.6"
|
2018-11-06 06:34:54 +11:00
|
|
|
core-graphics = "0.17.3"
|
2019-05-02 09:03:30 +10:00
|
|
|
dispatch = "0.1.4"
|
|
|
|
objc = "0.2.3"
|
2015-01-10 20:56:47 +11:00
|
|
|
|
2018-11-18 06:20:04 +11:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
2019-02-05 03:52:00 +11:00
|
|
|
bitflags = "1"
|
2018-11-18 06:20:04 +11:00
|
|
|
|
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]
|
2019-02-21 20:51:43 +11:00
|
|
|
wayland-client = { version = "0.23.0", features = [ "dlopen", "egl", "cursor", "eventloop"] }
|
|
|
|
calloop = "0.4.2"
|
|
|
|
smithay-client-toolkit = "0.6"
|
2018-08-05 16:24:49 +10:00
|
|
|
x11-dl = "2.18.3"
|
2017-12-13 22:22:03 +11:00
|
|
|
percent-encoding = "1.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]
|
|
|
|
version = "0.8"
|
2019-02-13 12:47:31 +11:00
|
|
|
|
2019-06-04 15:51:01 +10:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
|
|
|
|
version = "0.3.22"
|
|
|
|
optional = true
|
|
|
|
features = [
|
2019-06-06 15:58:11 +10:00
|
|
|
'console',
|
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',
|
|
|
|
'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-06-27 08:02:46 +10:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.stdweb]
|
|
|
|
version = "0.4.17"
|
|
|
|
optional = true
|
2019-06-21 14:46:01 +10:00
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
stdweb = { path = "../stdweb" }
|