mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 22:33:52 +03:00
240026de48
Resolves a little bit of the awkward duplication of color types between some of the crates by factoring them a little bit better. This is prep for allowing specifying alpha for some colors in the config.
87 lines
2.5 KiB
TOML
87 lines
2.5 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.4"
|
|
k9 = "0.11.0"
|
|
|
|
[build-dependencies]
|
|
gl_generator = "0.14"
|
|
|
|
[features]
|
|
wayland = ["wayland-client", "smithay-client-toolkit", "wayland-egl", "wayland-protocols"]
|
|
|
|
[dependencies]
|
|
async-channel = "1.6"
|
|
async-io = "1.1"
|
|
async-task = "4.0"
|
|
async-trait = "0.1"
|
|
anyhow = "1.0"
|
|
bytes = "1.0"
|
|
config = { path = "../config" }
|
|
thiserror = "1.0"
|
|
bitflags = "1.3"
|
|
euclid = "0.22"
|
|
guillotiere = "0.6"
|
|
lazy_static = "1.4"
|
|
libloading = "0.6"
|
|
line_drawing = "0.8"
|
|
log = "0.4"
|
|
metrics = { version="0.17", features=["std"]}
|
|
promise = { path = "../promise" }
|
|
raw-window-handle = "0.3"
|
|
resize = "0.5"
|
|
serde = {version="1.0", features = ["rc", "derive"]}
|
|
tiny-skia = "0.6"
|
|
glium = { version = "0.30", default-features = false, git = "https://github.com/glium/glium.git", rev="aed95270f0714036003589d6e52de196e7ff75d1" }
|
|
wezterm-bidi = { path = "../bidi" }
|
|
wezterm-color-types = { path = "../color-types" }
|
|
wezterm-font = { path = "../wezterm-font" }
|
|
wezterm-input-types = { path = "../wezterm-input-types" }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
winapi = { version = "0.3", features = [
|
|
"dwmapi",
|
|
"handleapi",
|
|
"imm",
|
|
"libloaderapi",
|
|
"synchapi",
|
|
"winerror",
|
|
"winuser",
|
|
]}
|
|
winreg = "0.6"
|
|
clipboard-win = "2.2"
|
|
shared_library = "0.1"
|
|
|
|
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
|
|
dirs-next = "2.0"
|
|
filedescriptor = { version="0.8", path = "../filedescriptor" }
|
|
x11 = {version ="2.18", features = ["xlib_xcb"]}
|
|
xcb = {version="0.9", features=["render", "xkb", "xlib_xcb"]}
|
|
xcb-util = { features = [ "cursor", "image", "icccm", "ewmh", "keysyms"], version = "0.3" }
|
|
xkbcommon = { version = "0.5", features = ["x11", "wayland"], git="https://github.com/wez/xkbcommon-rs.git", rev="5cc8f233ac2b8bfa0d7a26fd981b77e68c3f2219"}
|
|
#xkbcommon = { version = "0.5", features = ["x11", "wayland"], path="../../xkbcommon-rs" }
|
|
mio = "0.6"
|
|
libc = "0.2"
|
|
smithay-client-toolkit = {version = "0.15", default-features=false, optional=true}
|
|
wayland-protocols = {version="0.29", optional=true}
|
|
wayland-client = {version="0.29", optional=true}
|
|
wayland-egl = {version="0.29", optional=true}
|
|
xcb-imdkit = "0.1"
|
|
#xcb-imdkit = { path = "../../github/xcb-imdkit-rs" }
|
|
|
|
[target.'cfg(target_os="macos")'.dependencies]
|
|
cocoa = "0.20"
|
|
objc = "0.2"
|
|
clipboard = "0.5"
|
|
core-foundation = "0.7"
|
|
core-graphics = "0.19"
|
|
cgl = "0.3"
|