Files
LLeMbas-TTY/Cargo.toml
T
Wez Furlong 27cb18f8ae Build our own freetype, harfbuzz
This is primarily for macos where the default freetype
installation is unable to render color emoji, but should also
help make things more consistent across the various platforms.

It's a little bit awkward on linux because the font-loader crate
pulls in the now-conflicting servo-font* crates.  I've disabled
font-loader on linux systems; it's just calling fontconfig under
the covers anyway.
2019-03-23 09:28:40 -07:00

115 lines
2.5 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 = {version="~1.0", features = ["rc"]}
serde_derive = "~1.0"
toml = "~0.4"
unicode-width = "~0.1"
dirs = "~1.0"
rusttype = "0.7"
clipboard = "0.5"
unicode-normalization = "~0.1"
freetype = { path = "deps/freetype" }
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" }
varbincode = { path = "varbincode" }
lazy_static = "1.3"
leb128 = "0.2"
zstd = "0.4"
[target.'cfg(unix)'.dependencies]
harfbuzz = { path = "deps/harfbuzz" }
mio = "~0.6"
mio-extras = "~2.0"
[dependencies.fontconfig]
optional = true
path = "deps/fontconfig"
[dependencies.term]
path = "term"
[dependencies.termwiz]
path = "termwiz"
[target.'cfg(any(windows, target_os = "macos"))'.dependencies.font-loader]
# on linux, font-loader pulls in servo-font* crates which conflict with
# our newer font related deps, so we avoid it on linux
version = "0.8"
[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]
fontconfig = { path = "deps/fontconfig" }
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 = []
force-fontconfig = ["fontconfig"]
[patch.crates-io]
# We need https://github.com/tomaka/glutin/pull/1099
glutin = { git = "https://github.com/yvt/glutin", branch="patch-macos-iscurrent" }
[workspace]
[profile.release]
debug = true