2014-07-27 10:55:37 +02:00
|
|
|
[package]
|
2016-02-23 12:56:23 +01:00
|
|
|
name = "winit"
|
2022-01-05 15:38:59 +01:00
|
|
|
version = "0.26.1"
|
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."
|
2022-01-13 16:59:57 +11:00
|
|
|
edition = "2021"
|
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]
|
2021-05-24 19:06:21 +02:00
|
|
|
features = ["serde"]
|
2020-04-19 12:37:13 -07:00
|
|
|
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-07 17:36:21 -04:00
|
|
|
|
2019-06-27 00:02:46 +02:00
|
|
|
[features]
|
2021-10-31 17:06:00 +03:00
|
|
|
default = ["x11", "wayland", "wayland-dlopen"]
|
2021-08-24 03:38:56 -07:00
|
|
|
x11 = ["x11-dl", "mio", "percent-encoding", "parking_lot"]
|
2021-08-17 07:59:57 +03:00
|
|
|
wayland = ["wayland-client", "wayland-protocols", "sctk"]
|
2021-10-31 17:06:00 +03:00
|
|
|
wayland-dlopen = ["sctk/dlopen", "wayland-client/dlopen"]
|
2019-06-27 00:02:46 +02:00
|
|
|
|
2015-02-06 09:21:55 +01:00
|
|
|
[dependencies]
|
2021-05-24 19:06:21 +02:00
|
|
|
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
2017-12-27 09:39:38 -08:00
|
|
|
lazy_static = "1"
|
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"] }
|
2021-11-30 17:50:23 +01:00
|
|
|
raw-window-handle = "0.4.2"
|
2019-12-28 15:36:06 -05:00
|
|
|
bitflags = "1"
|
2021-05-09 00:56:52 +02:00
|
|
|
mint = { version = "0.5.6", optional = true }
|
2014-10-04 15:49:39 +02:00
|
|
|
|
2019-02-23 20:59:00 -05:00
|
|
|
[dev-dependencies]
|
2022-02-17 14:13:32 +01:00
|
|
|
image = { version = "0.24.0", default-features = false, features = ["png"] }
|
|
|
|
simple_logger = "2.1.0"
|
2019-02-23 20:59:00 -05:00
|
|
|
|
2020-05-06 15:27:49 +02:00
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
2022-02-01 05:14:36 +06:00
|
|
|
ndk = "0.6"
|
|
|
|
ndk-sys = "0.3"
|
|
|
|
ndk-glue = "0.6"
|
2014-12-31 23:10:29 +01:00
|
|
|
|
2020-10-18 02:05:08 +03:00
|
|
|
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
|
|
|
objc = "0.2.7"
|
2015-09-21 18:57:35 +02:00
|
|
|
|
2016-05-02 14:58:52 -07:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2020-10-18 02:05:08 +03:00
|
|
|
cocoa = "0.24"
|
2020-09-07 18:13:51 -02:30
|
|
|
core-foundation = "0.9"
|
|
|
|
core-graphics = "0.22"
|
2020-01-19 10:47:55 -08:00
|
|
|
dispatch = "0.2.0"
|
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]
|
2020-05-07 19:32:09 -07:00
|
|
|
version = "0.1.4"
|
2019-07-03 21:19:07 +03:00
|
|
|
default_features = false
|
|
|
|
features = ["display_link"]
|
|
|
|
|
2020-10-18 02:05:08 +03:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
|
|
parking_lot = "0.11"
|
|
|
|
|
2017-12-24 15:46:47 +02:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.winapi]
|
2021-08-30 19:40:02 +02:00
|
|
|
version = "0.3.9"
|
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",
|
2020-12-10 05:16:59 +09:00
|
|
|
"imm",
|
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",
|
2021-11-02 21:51:39 +01:00
|
|
|
"mmsystem",
|
|
|
|
"timeapi"
|
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]
|
2021-10-31 17:06:00 +03:00
|
|
|
wayland-client = { version = "0.29", default_features = false, features = ["use_system_lib"], optional = true }
|
2021-08-17 07:59:57 +03:00
|
|
|
wayland-protocols = { version = "0.29", features = [ "staging_protocols"], optional = true }
|
2021-10-31 17:06:00 +03:00
|
|
|
sctk = { package = "smithay-client-toolkit", version = "0.15.1", default_features = false, features = ["calloop"], optional = true }
|
2021-11-20 01:42:23 +01:00
|
|
|
mio = { version = "0.8", features = ["os-ext"], optional = true }
|
2020-06-15 09:15:27 +02:00
|
|
|
x11-dl = { version = "2.18.5", optional = true }
|
2020-10-18 02:05:08 +03:00
|
|
|
percent-encoding = { version = "2.0", optional = true }
|
|
|
|
parking_lot = { version = "0.11.0", optional = true }
|
2021-07-13 17:27:47 +02:00
|
|
|
libc = "0.2.64"
|
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"
|
|
|
|
features = [
|
2019-06-05 22:58:11 -07:00
|
|
|
'console',
|
2020-08-29 21:34:33 +08:00
|
|
|
"AddEventListenerOptions",
|
2019-12-31 14:39:33 -08:00
|
|
|
'CssStyleDeclaration',
|
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',
|
2020-02-17 20:25:27 +01:00
|
|
|
'MediaQueryList',
|
|
|
|
'MediaQueryListEvent',
|
2019-06-03 22:51:01 -07:00
|
|
|
'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"
|
2019-12-03 18:16:06 +01:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2020-09-27 06:47:47 -08:00
|
|
|
console_log = "0.2"
|