Files
LLeMbas-TTY/window/Cargo.toml
T
Wez Furlong 048495b651 Fix x11 compilation due to bad semver bump in xcb-util
Force using xcb-util 0.2.1 precisely because 0.2.2 pulls in a
conflicting major version of xcb (0.8 -> 0.9).

It's a non-trivial upgrade: the types around xkb are different
and features need to be specified in the manifest to enable compilation
of the things that we depend upon.

In addition, xkbdcommon, on which we depend, requires xcb 0.8 and
results in pulling in two conflicting versions of the crates.

It's a bit of a painful situation and will require some effort to
figure out how to upgrade the xcb dependency, when we're ready for that.

refs: https://github.com/meh/rust-xcb-util/issues/12
2020-01-05 15:51:48 -08:00

70 lines
1.8 KiB
TOML

[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"
build = "build.rs"
[dev-dependencies]
pretty_env_logger = "0.3"
[build-dependencies]
gl_generator = {version="0.13", optional=true}
[dependencies]
anyhow = "1.0"
thiserror = "1.0"
bitflags = "1.0"
euclid = "0.20"
lazy_static = "1.3"
libloading = { version = "0.5", optional=true }
line_drawing = "0.8"
log = "0.4"
metrics = { version="0.12", features=["std"]}
palette = "0.4"
promise = { path = "../promise" }
resize = "0.3"
glium = { version = "0.26.0-alpha3", optional=true, default-features = false}
[features]
async_await = []
opengl = ["cgl", "glium", "gl_generator", "libloading"]
wayland = ["smithay-client-toolkit", "memmap", "wayland-client"]
[target."cfg(windows)".dependencies]
winapi = { version = "0.3", features = [
"dwmapi",
"handleapi",
"imm",
"libloaderapi",
"synchapi",
"winerror",
"winuser",
]}
clipboard-win = "2.2"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
filedescriptor = "0.6"
x11 = {version ="2.18", features = ["xlib_xcb"]}
xcb = "0.8"
# See: https://github.com/meh/rust-xcb-util/issues/12
xcb-util = { features = [ "icccm", "ewmh", "keysyms", "shm"], version = "=0.2.1" }
xkbcommon = { version = "0.4", features = ["x11"] }
mio = "0.6"
mio-extras = "2.0"
libc = "0.2"
smithay-client-toolkit = {version = "0.6", optional = true}
memmap = {version="0.7", optional=true}
wayland-client = {version="0.23", optional=true, features=["egl"]}
[target.'cfg(target_os="macos")'.dependencies]
cocoa = "0.20"
objc = "0.2"
clipboard = "0.5"
core-foundation = "0.7"
core-graphics = "0.19"
cgl = { version = "0.3", optional = true }