mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
This reverts commit 65587ef43a.
It introduced sublte bugs in its interaction with OpenGL and glutin,
so we should better revert it for now.
78 lines
1.9 KiB
TOML
78 lines
1.9 KiB
TOML
[package]
|
|
name = "winit"
|
|
version = "0.20.0-alpha1"
|
|
authors = ["The winit contributors", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
|
description = "Cross-platform window creation library."
|
|
edition = "2018"
|
|
keywords = ["windowing"]
|
|
license = "Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/rust-windowing/winit"
|
|
documentation = "https://docs.rs/winit"
|
|
categories = ["gui"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["serde"]
|
|
|
|
[dependencies]
|
|
lazy_static = "1"
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
serde = { version = "1", optional = true, features = ["serde_derive"] }
|
|
derivative = "1.0.2"
|
|
|
|
[dev-dependencies]
|
|
image = "0.21"
|
|
env_logger = "0.5"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.android_glue]
|
|
version = "0.2"
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
objc = "0.2.3"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
cocoa = "0.18.4"
|
|
core-foundation = "0.6"
|
|
core-graphics = "0.17.3"
|
|
core-video-sys = "0.1.2"
|
|
dispatch = "0.1.4"
|
|
objc = "0.2.3"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
bitflags = "1"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.winapi]
|
|
version = "0.3.6"
|
|
features = [
|
|
"combaseapi",
|
|
"commctrl",
|
|
"dwmapi",
|
|
"errhandlingapi",
|
|
"hidusage",
|
|
"libloaderapi",
|
|
"objbase",
|
|
"ole2",
|
|
"processthreadsapi",
|
|
"shellapi",
|
|
"shellscalingapi",
|
|
"shobjidl_core",
|
|
"unknwnbase",
|
|
"winbase",
|
|
"windowsx",
|
|
"winerror",
|
|
"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.23.0", features = [ "dlopen", "egl", "cursor", "eventloop"] }
|
|
calloop = "0.4.2"
|
|
smithay-client-toolkit = "0.6"
|
|
x11-dl = "2.18.3"
|
|
percent-encoding = "1.0"
|
|
|
|
[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"
|