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"
|
|
|
|
|
2019-11-30 05:05:09 +03:00
|
|
|
[dev-dependencies]
|
2020-06-13 20:21:49 +03:00
|
|
|
pretty_env_logger = "0.4"
|
2019-11-30 05:05:09 +03:00
|
|
|
|
2019-10-25 01:54:41 +03:00
|
|
|
[build-dependencies]
|
2020-06-15 07:24:54 +03:00
|
|
|
gl_generator = {version="0.14", optional=true}
|
2019-08-08 05:19:04 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2020-01-16 12:31:28 +03:00
|
|
|
async-task = "1.2"
|
2019-12-15 08:43:05 +03:00
|
|
|
anyhow = "1.0"
|
|
|
|
thiserror = "1.0"
|
2019-08-10 07:53:46 +03:00
|
|
|
bitflags = "1.0"
|
2019-09-21 22:32:21 +03:00
|
|
|
euclid = "0.20"
|
2019-08-10 07:34:34 +03:00
|
|
|
lazy_static = "1.3"
|
2020-06-13 20:21:49 +03:00
|
|
|
libloading = { version = "0.6", optional=true }
|
2019-08-11 20:15:08 +03:00
|
|
|
line_drawing = "0.8"
|
2019-11-28 19:51:54 +03:00
|
|
|
log = "0.4"
|
2020-01-04 19:52:50 +03:00
|
|
|
metrics = { version="0.12", features=["std"]}
|
2020-01-10 09:39:34 +03:00
|
|
|
palette = "0.5"
|
2019-08-08 05:19:04 +03:00
|
|
|
promise = { path = "../promise" }
|
2019-08-08 20:00:54 +03:00
|
|
|
resize = "0.3"
|
2020-06-15 07:24:54 +03:00
|
|
|
glium = { version = "0.27", optional=true, default-features = false}
|
2019-08-08 05:19:04 +03:00
|
|
|
|
|
|
|
[features]
|
2019-10-25 01:54:41 +03:00
|
|
|
opengl = ["cgl", "glium", "gl_generator", "libloading"]
|
2020-05-03 01:53:32 +03:00
|
|
|
wayland = ["smithay-client-toolkit", "memmap", "wayland-client", "wayland-egl"]
|
2019-08-08 05:19:04 +03:00
|
|
|
|
|
|
|
[target."cfg(windows)".dependencies]
|
2020-01-21 00:55:18 +03:00
|
|
|
lazy_static = "1.4"
|
2019-08-08 05:19:04 +03:00
|
|
|
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
|
|
|
]}
|
2020-01-21 00:55:18 +03:00
|
|
|
winreg = "0.6"
|
2019-11-29 23:32:30 +03:00
|
|
|
clipboard-win = "2.2"
|
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]
|
2020-01-26 20:14:26 +03:00
|
|
|
filedescriptor = { version="0.7", path = "../filedescriptor" }
|
2019-08-09 03:44:57 +03:00
|
|
|
x11 = {version ="2.18", features = ["xlib_xcb"]}
|
2020-07-08 18:34:22 +03:00
|
|
|
xcb = {version="0.9", features=["shm", "xkb", "xlib_xcb"]}
|
2020-05-03 01:53:32 +03:00
|
|
|
xcb-util = { features = [ "icccm", "ewmh", "keysyms", "shm"], version = "0.3" }
|
|
|
|
xkbcommon = { version = "0.5", features = ["x11", "wayland"], git="https://github.com/wez/xkbcommon-rs.git", rev="01a0a0cd5663405e6e4abb1ad3add9add1496f58"}
|
2019-08-09 03:44:57 +03:00
|
|
|
mio = "0.6"
|
|
|
|
mio-extras = "2.0"
|
2019-08-09 21:15:09 +03:00
|
|
|
libc = "0.2"
|
2020-06-06 21:58:38 +03:00
|
|
|
smithay-client-toolkit = {version = "0.9", optional = true, features=["calloop"], git="https://github.com/wez/client-toolkit.git", branch="title_trunc"}
|
2019-11-28 03:39:00 +03:00
|
|
|
memmap = {version="0.7", optional=true}
|
2020-05-03 01:53:32 +03:00
|
|
|
wayland-client = {version="0.26", optional=true}
|
|
|
|
wayland-egl = {version="0.26", optional=true}
|
2019-08-09 06:53:16 +03:00
|
|
|
|
|
|
|
[target.'cfg(target_os="macos")'.dependencies]
|
2019-11-13 11:05:55 +03:00
|
|
|
cocoa = "0.20"
|
2019-08-09 06:53:16 +03:00
|
|
|
objc = "0.2"
|
2019-11-29 23:47:56 +03:00
|
|
|
clipboard = "0.5"
|
2019-11-13 11:05:55 +03:00
|
|
|
core-foundation = "0.7"
|
|
|
|
core-graphics = "0.19"
|
2019-10-07 17:17:57 +03:00
|
|
|
cgl = { version = "0.3", optional = true }
|