[package] name = "crossfont" version = "0.8.0" description = "Cross platform native font loading and rasterization" authors = ["Christian Duerr ", "Joe Wilm "] 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 = "2021" rust-version = "1.65.0" [dependencies] libc = "0.2" foreign-types = "0.5" log = "0.4" [target.'cfg(not(any(target_os = "macos", windows)))'.dependencies] yeslogic-fontconfig-sys = "5.0.0" freetype-rs = "0.36.0" [target.'cfg(not(any(target_os = "macos", windows)))'.build-dependencies] pkg-config = "0.3" [target.'cfg(target_os = "macos")'.dependencies] cocoa = "0.25.0" core-foundation = "0.9.3" core-text = "20.1.0" core-graphics = "0.23.1" core-foundation-sys = "0.8.4" objc = "0.2.7" once_cell = "1.12" [target.'cfg(windows)'.dependencies] dwrote = { version = "0.11" } winapi = { version = "0.3", features = ["impl-default"] }