[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" [dependencies] bitflags = "1.0" failure = "0.1" failure_derive = "0.1" lazy_static = "1.3" line_drawing = "0.8" palette = "0.4" promise = { path = "../promise" } resize = "0.3" [features] [target."cfg(windows)".dependencies] winapi = { version = "0.3", features = [ "dwmapi", "handleapi", "libloaderapi", "synchapi", "winerror", "winuser", ]} [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies] filedescriptor = "0.5" x11 = {version ="2.18", features = ["xlib_xcb"]} xcb = "0.8" xcb-util = { features = [ "icccm", "ewmh", "keysyms", "shm"], version = "0.2" } xkbcommon = { version = "0.4", features = ["x11"] } mio = "0.6" mio-extras = "2.0" libc = "0.2" [target.'cfg(target_os="macos")'.dependencies] cocoa = "0.19" objc = "0.2" core-foundation = "0.6" core-graphics = "0.17"