2019-08-08 05:19:04 +03:00
|
|
|
[package]
|
|
|
|
name = "window"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Wez Furlong"]
|
|
|
|
edition = "2018"
|
|
|
|
repository = "https://github.com/wez/wezterm"
|
|
|
|
description = "Cross platform window setup and render"
|
|
|
|
license = "MIT"
|
2019-10-25 01:54:41 +03:00
|
|
|
build = "build.rs"
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
gl_generator = {version="0.13", optional=true}
|
2019-08-08 05:19:04 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2019-08-10 07:53:46 +03:00
|
|
|
bitflags = "1.0"
|
2019-09-21 22:32:21 +03:00
|
|
|
euclid = "0.20"
|
2019-08-08 05:19:04 +03:00
|
|
|
failure = "0.1"
|
|
|
|
failure_derive = "0.1"
|
2019-08-10 07:34:34 +03:00
|
|
|
lazy_static = "1.3"
|
2019-10-25 01:54:41 +03:00
|
|
|
libloading = { version = "0.5", optional=true }
|
2019-08-11 20:15:08 +03:00
|
|
|
line_drawing = "0.8"
|
2019-08-08 20:00:54 +03:00
|
|
|
palette = "0.4"
|
2019-08-08 05:19:04 +03:00
|
|
|
promise = { path = "../promise" }
|
2019-08-08 20:00:54 +03:00
|
|
|
resize = "0.3"
|
2019-10-07 17:17:57 +03:00
|
|
|
glium = { version = "0.26.0-alpha3", optional=true, default-features = false}
|
2019-08-08 05:19:04 +03:00
|
|
|
|
|
|
|
[features]
|
2019-09-29 08:00:07 +03:00
|
|
|
async_await = []
|
2019-10-25 01:54:41 +03:00
|
|
|
opengl = ["cgl", "glium", "gl_generator", "libloading"]
|
2019-08-08 05:19:04 +03:00
|
|
|
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
|
|
winapi = { version = "0.3", features = [
|
2019-08-08 08:10:30 +03:00
|
|
|
"dwmapi",
|
2019-08-08 05:19:04 +03:00
|
|
|
"handleapi",
|
2019-11-02 19:35:19 +03:00
|
|
|
"imm",
|
2019-08-08 19:13:22 +03:00
|
|
|
"libloaderapi",
|
2019-08-08 05:19:04 +03:00
|
|
|
"synchapi",
|
2019-08-08 19:13:22 +03:00
|
|
|
"winerror",
|
|
|
|
"winuser",
|
2019-08-08 05:19:04 +03:00
|
|
|
]}
|
|
|
|
|
2019-08-09 03:44:57 +03:00
|
|
|
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
|
2019-08-10 04:49:46 +03:00
|
|
|
filedescriptor = "0.5"
|
2019-08-09 03:44:57 +03:00
|
|
|
x11 = {version ="2.18", features = ["xlib_xcb"]}
|
|
|
|
xcb = "0.8"
|
2019-08-09 21:15:09 +03:00
|
|
|
xcb-util = { features = [ "icccm", "ewmh", "keysyms", "shm"], version = "0.2" }
|
2019-08-09 03:44:57 +03:00
|
|
|
xkbcommon = { version = "0.4", features = ["x11"] }
|
|
|
|
mio = "0.6"
|
|
|
|
mio-extras = "2.0"
|
2019-08-09 21:15:09 +03:00
|
|
|
libc = "0.2"
|
2019-08-09 06:53:16 +03:00
|
|
|
|
|
|
|
[target.'cfg(target_os="macos")'.dependencies]
|
|
|
|
cocoa = "0.19"
|
|
|
|
objc = "0.2"
|
2019-08-12 18:38:44 +03:00
|
|
|
core-foundation = "0.6"
|
2019-08-09 06:53:16 +03:00
|
|
|
core-graphics = "0.17"
|
2019-10-07 17:17:57 +03:00
|
|
|
cgl = { version = "0.3", optional = true }
|