mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
2464a135b3
* macOS: Implement MonitorId::get_position * macOS: Fix Window::get_current_monitor
59 lines
1.4 KiB
TOML
59 lines
1.4 KiB
TOML
[package]
|
|
name = "winit"
|
|
version = "0.14.0"
|
|
authors = ["The winit contributors, Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
|
description = "Cross-platform window creation library."
|
|
keywords = ["windowing"]
|
|
license = "Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/tomaka/winit"
|
|
documentation = "https://docs.rs/winit"
|
|
categories = ["gui"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["icon_loading"]
|
|
|
|
[features]
|
|
icon_loading = ["image"]
|
|
|
|
[dependencies]
|
|
lazy_static = "1"
|
|
libc = "0.2"
|
|
image = { version = "0.19", optional = true }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.android_glue]
|
|
version = "0.2"
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
objc = "0.2"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc = "0.2"
|
|
cocoa = "0.15"
|
|
core-foundation = "0.6"
|
|
core-graphics = "0.14"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.winapi]
|
|
version = "0.3"
|
|
features = [
|
|
"winnt",
|
|
"winuser",
|
|
"wingdi",
|
|
"shellapi",
|
|
"dwmapi",
|
|
"processthreadsapi",
|
|
"libloaderapi",
|
|
"windowsx",
|
|
"hidusage",
|
|
"combaseapi",
|
|
"objbase",
|
|
"unknwnbase",
|
|
]
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))'.dependencies]
|
|
wayland-client = { version = "0.20.6", features = [ "dlopen", "egl", "cursor"] }
|
|
smithay-client-toolkit = "0.2.1"
|
|
x11-dl = "2.17.5"
|
|
parking_lot = "0.5"
|
|
percent-encoding = "1.0"
|