winit-sonoma-fix/Cargo.toml

70 lines
1.7 KiB
TOML
Raw Normal View History

2014-07-27 18:55:37 +10:00
[package]
name = "winit"
version = "0.18.0"
2018-09-11 14:23:48 +10:00
authors = ["The winit contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
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"
repository = "https://github.com/tomaka/winit"
documentation = "https://docs.rs/winit"
2017-01-31 20:01:36 +11:00
categories = ["gui"]
2014-07-27 18:55:37 +10:00
[package.metadata.docs.rs]
features = ["icon_loading", "serde"]
2018-05-08 07:36:21 +10:00
[features]
icon_loading = ["image"]
2015-02-06 19:21:55 +11:00
[dependencies]
lazy_static = "1"
libc = "0.2"
log = "0.4"
image = { version = "0.20.1", optional = true }
serde = { version = "1", optional = true, features = ["serde_derive"] }
[target.'cfg(target_os = "android")'.dependencies.android_glue]
version = "0.2"
2015-01-01 09:10:29 +11: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
[target.'cfg(target_os = "macos")'.dependencies]
2018-07-20 02:02:33 +10:00
objc = "0.2.3"
cocoa = "0.18.4"
core-foundation = "0.6"
core-graphics = "0.17.3"
2015-01-10 20:56:47 +11:00
[target.'cfg(target_os = "windows")'.dependencies]
backtrace = "0.3"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3.6"
features = [
2018-06-13 01:58:18 +10:00
"combaseapi",
"dwmapi",
"errhandlingapi",
"hidusage",
2018-06-13 01:58:18 +10:00
"libloaderapi",
"objbase",
"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",
"unknwnbase",
"winbase",
2018-06-13 01:58:18 +10:00
"windowsx",
"winerror",
2018-06-13 01:58:18 +10:00
"wingdi",
"winnt",
"winuser",
]
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
wayland-client = { version = "0.21", features = [ "dlopen", "egl", "cursor"] }
smithay-client-toolkit = "0.4"
x11-dl = "2.18.3"
parking_lot = "0.6"
percent-encoding = "1.0"