From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- gfx/wr/wr_glyph_rasterizer/Cargo.toml | 51 +++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 gfx/wr/wr_glyph_rasterizer/Cargo.toml (limited to 'gfx/wr/wr_glyph_rasterizer/Cargo.toml') diff --git a/gfx/wr/wr_glyph_rasterizer/Cargo.toml b/gfx/wr/wr_glyph_rasterizer/Cargo.toml new file mode 100644 index 0000000000..1d94a460cc --- /dev/null +++ b/gfx/wr/wr_glyph_rasterizer/Cargo.toml @@ -0,0 +1,51 @@ +[package] +name = "wr_glyph_rasterizer" +version = "0.1.0" +authors = ["The Mozilla Project Developers"] +description = "A glyph rasterizer for WebRender" +license = "MPL-2.0" +edition = "2018" + +[features] +default = ["static_freetype"] +dynamic_freetype = [] +static_freetype = ["freetype/freetype-sys"] +capture = ["api/serialize", "serde", "smallvec/serde"] +replay = ["api/deserialize", "serde", "smallvec/serde"] +gecko = ["firefox-on-glean", "glean"] + +[dependencies] +api = { version = "0.62.0", path = "../webrender_api", package = "webrender_api" } +euclid = { version = "0.22.0", features = ["serde"] } +malloc_size_of = { version = "0.0.2", path = "../wr_malloc_size_of", package = "wr_malloc_size_of" } +malloc_size_of_derive = "0.1" +rayon = "1" +smallvec = "1" +tracy-rs = "0.1.2" +log = "0.4" +lazy_static = "1" +fxhash = "0.2.1" +glean = { version = "57.0.0", optional = true } +firefox-on-glean = { version = "0.1.0", optional = true } +serde = { optional = true, version = "1.0", features = ["serde_derive"] } + +[dev-dependencies] +env_logger = { version = "0.10", default_features = false } +euclid = "0.22" +gleam = "0.15" +glutin = "0.28" +rayon = "1" +winit = "0.26" + +[target.'cfg(any(target_os = "android", all(unix, not(target_os = "macos"))))'.dependencies] +freetype = { version = "0.7", default-features = false } +libc = "0.2" + +[target.'cfg(target_os = "windows")'.dependencies] +dwrote = "0.11" + +[target.'cfg(target_os = "macos")'.dependencies] +core-foundation = "0.9.2" +core-graphics = "0.23" +core-text = { version = "20.1", default-features = false } +objc = "0.2" -- cgit v1.2.3