2 name = "wr_glyph_rasterizer"
4 authors = ["The Mozilla Project Developers"]
5 description = "A glyph rasterizer for WebRender"
10 default = ["static_freetype"]
12 static_freetype = ["freetype/freetype-sys"]
13 capture = ["api/serialize", "serde", "smallvec/serde"]
14 replay = ["api/deserialize", "serde", "smallvec/serde"]
15 gecko = ["firefox-on-glean", "glean"]
18 api = { version = "0.62.0", path = "../webrender_api", package = "webrender_api" }
19 euclid = { version = "0.22.0", features = ["serde"] }
20 malloc_size_of = { version = "0.0.2", path = "../wr_malloc_size_of", package = "wr_malloc_size_of" }
21 malloc_size_of_derive = "0.1"
28 glean = { workspace = true, optional = true }
29 firefox-on-glean = { version = "0.1.0", optional = true }
30 serde = { optional = true, version = "1.0", features = ["serde_derive"] }
33 env_logger = { version = "0.10", default-features = false }
40 [target.'cfg(any(target_os = "android", all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies]
41 freetype = { version = "0.7", default-features = false }
44 [target.'cfg(target_os = "windows")'.dependencies]
47 [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
48 core-foundation = "0.9.2"
49 core-graphics = "0.23"
50 core-text = { version = "20.1", default-features = false }