mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
637c775a99
This updates font dependencies to make use of the newly unified freetype-sys crate, allowing us to get rid of Alacritty's patch section in the Cargo.toml.
26 lines
654 B
TOML
26 lines
654 B
TOML
[package]
|
|
name = "font"
|
|
version = "0.1.0"
|
|
authors = ["Christian Duerr <contact@christianduerr.com>", "Joe Wilm <joe@jwilm.com>"]
|
|
description = "Font rendering using the best available solution per platform"
|
|
license = "Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
euclid = "0.20"
|
|
libc = "0.2"
|
|
foreign-types = "0.5"
|
|
log = "0.4"
|
|
|
|
[target.'cfg(not(any(target_os = "macos", windows)))'.dependencies]
|
|
servo-fontconfig = "0.5.0"
|
|
freetype-rs = "0.24"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation = "0.6"
|
|
core-text = "13"
|
|
core-graphics = "0.17"
|
|
core-foundation-sys = "0.6"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
dwrote = { version = "0.9.0" }
|