forked from alacritty/crossfont
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (32 loc) · 1.02 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "crossfont"
version = "0.3.0"
description = "Cross platform native font loading and rasterization"
authors = ["Christian Duerr <[email protected]>", "Joe Wilm <[email protected]>"]
repository = "https://github.com/alacritty/crossfont.git"
documentation = "https://docs.rs/crossfont"
license = "Apache-2.0"
readme = "README.md"
categories = ["gui", "os"]
keywords = ["font"]
edition = "2018"
[dependencies]
libc = "0.2"
foreign-types = "0.5"
log = "0.4"
[target.'cfg(not(any(target_os = "macos", windows)))'.dependencies]
servo-fontconfig = "0.5.1"
freetype-rs = "0.26"
[target.'cfg(not(any(target_os = "macos", windows)))'.build-dependencies]
pkg-config = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.24"
core-foundation = "0.9"
core-text = "19"
core-graphics = "0.22"
core-foundation-sys = "0.8"
[target.'cfg(windows)'.dependencies]
dwrote = { version = "0.11" }
winapi = { version = "0.3", features = ["impl-default"] }
[features]
force_system_fontconfig = ["servo-fontconfig/force_system_lib"]