2016-06-09 23:39:40 -04:00
|
|
|
[package]
|
|
|
|
name = "font"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Joe Wilm <joe@jwilm.com>"]
|
|
|
|
description = "Font rendering using the best available solution per platform"
|
|
|
|
license = "Apache-2.0"
|
|
|
|
|
2017-10-26 23:01:17 -04:00
|
|
|
[features]
|
|
|
|
with-serde = ["serde", "serde_derive"]
|
|
|
|
|
2016-06-09 23:39:40 -04:00
|
|
|
[dependencies]
|
2017-05-14 04:47:09 -04:00
|
|
|
euclid = "0.12.0"
|
2017-05-25 13:57:42 -04:00
|
|
|
libc = "0.2"
|
2017-06-27 12:29:09 -04:00
|
|
|
foreign-types = "0.2.0"
|
2017-01-13 02:15:06 -05:00
|
|
|
log = "0.3"
|
2017-10-26 23:01:17 -04:00
|
|
|
serde = { version = "1", optional = true }
|
|
|
|
serde_derive = { version = "1", optional = true }
|
2016-06-09 23:39:40 -04:00
|
|
|
|
|
|
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
2017-10-09 01:33:01 -04:00
|
|
|
servo-fontconfig = { git = "https://github.com/jwilm/rust-fontconfig", branch = "updated-2017-10-8" }
|
2017-05-14 04:47:09 -04:00
|
|
|
freetype-rs = "0.13.0"
|
2016-06-09 23:39:40 -04:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2017-05-14 04:47:09 -04:00
|
|
|
core-foundation = "0.3.0"
|
2017-07-28 12:00:55 -04:00
|
|
|
core-text = "6.1.0"
|
2017-05-31 14:22:49 -04:00
|
|
|
core-graphics = "0.8.1"
|
2017-05-14 04:47:09 -04:00
|
|
|
core-foundation-sys = "0.3.1"
|
2017-10-26 23:01:17 -04:00
|
|
|
|