1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-29 16:42:13 +03:00
wezterm/Cargo.toml
Wez Furlong 6575f50ffc the directories crate spawns a lot of children! stop using it
The `directories` crate unconditionally and eagerly tries to spawn
`xdg-user-dir` for all possible directories that it might be asked
about.  This is relatively expensive and undesirable.

Shift to the `dirs` crate instead, which doesn't seem to need
to run `xdg-user-dir` at all.

Maintain these probed dirs as singletons via lazy_static.
2019-03-22 20:41:50 -07:00

106 lines
2.2 KiB
TOML

[package]
authors = ["Wez Furlong <wez@wezfurlong.org>"]
name = "wezterm"
version = "0.1.0"
edition = "2018"
[dependencies]
bitflags = "~1.0"
euclid = "~0.19"
failure = "~0.1"
failure_derive = "~0.1"
gl = "~0.11"
libc = "~0.2"
palette = "~0.4"
serde = "~1.0"
serde_derive = "~1.0"
toml = "~0.4"
unicode-width = "~0.1"
dirs = "~1.0"
font-loader = "0.8"
rusttype = "0.7"
clipboard = "0.5"
unicode-normalization = "~0.1"
freetype = "~0.4"
open = "1.2"
structopt = "0.2"
foreign-types = "0.3"
winit = "0.18"
boxfnonce = "0.1"
rayon = "1.0"
promise = { path = "promise" }
base91 = { path = "base91" }
varu64 = "0.6"
bincode = "1.1"
lazy_static = "1.3"
[target.'cfg(unix)'.dependencies]
harfbuzz-sys = { git = "https://github.com/wez/rust-harfbuzz", branch="coretext" }
mio = "~0.6"
mio-extras = "~2.0"
[dependencies.term]
path = "term"
[dependencies.termwiz]
path = "termwiz"
[target."cfg(windows)".dependencies.uds_windows]
version = "0.1"
[target."cfg(windows)".dependencies.winapi]
features = [
"winuser",
"consoleapi",
"handleapi",
"fileapi",
"namedpipeapi",
"synchapi",
]
version = "~0.3"
[target.'cfg(any(target_os = "android", all(unix, not(target_os = "macos"))))'.dependencies]
servo-fontconfig = "~0.4"
egli = "~0.4"
x11 = {version ="~2.18", features = ["xlib_xcb"]}
[dependencies.glium]
version = "~0.23"
default-features = false
features = ["glutin"]
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xcb]
version = "~0.8"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xkbcommon]
version = "~0.4"
features = ["x11"]
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xcb-util]
features = [
"icccm",
"ewmh",
"keysyms",
]
version = "~0.2"
[target.'cfg(target_os = "macos")'.dependencies]
core-text = "~13.1"
core-graphics = "0.17"
core-foundation = "0.6"
[features]
debug-escape-sequences = ["term/debug-escape-sequences"]
force-glutin = []
force-rusttype = []
[patch.crates-io]
# We need https://github.com/tomaka/glutin/pull/1099
glutin = { git = "https://github.com/yvt/glutin", branch="patch-macos-iscurrent" }
harfbuzz-sys = { git = "https://github.com/wez/rust-harfbuzz", branch="coretext" }
[workspace]
[profile.release]
debug = true