summaryrefslogtreecommitdiffstats
path: root/gfx/wr/webrender/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/webrender/Cargo.toml')
-rw-r--r--gfx/wr/webrender/Cargo.toml62
1 files changed, 62 insertions, 0 deletions
diff --git a/gfx/wr/webrender/Cargo.toml b/gfx/wr/webrender/Cargo.toml
new file mode 100644
index 0000000000..1895bb0dcc
--- /dev/null
+++ b/gfx/wr/webrender/Cargo.toml
@@ -0,0 +1,62 @@
+[package]
+name = "webrender"
+version = "0.62.0"
+authors = ["Glenn Watson <gw@intuitionlibrary.com>"]
+license = "MPL-2.0"
+repository = "https://github.com/servo/webrender"
+description = "A GPU accelerated 2D renderer for web content"
+build = "build.rs"
+edition = "2018"
+
+[features]
+default = ["static_freetype"]
+profiler = ["tracy-rs/enable_profiler"]
+capture = ["api/serialize", "ron", "serde", "smallvec/serde", "etagere/serialization", "glyph_rasterizer/capture"]
+replay = ["api/deserialize", "ron", "serde", "smallvec/serde", "etagere/serialization", "glyph_rasterizer/replay"]
+display_list_stats = ["api/display_list_stats"]
+serialize_program = ["serde", "webrender_build/serialize_program"]
+dynamic_freetype = ["glyph_rasterizer/dynamic_freetype"]
+static_freetype = ["glyph_rasterizer/static_freetype"]
+leak_checks = []
+gecko = ["fog", "glyph_rasterizer/gecko"]
+sw_compositor = ["swgl"]
+
+[build-dependencies]
+build-parallel = "0.1.2"
+glslopt = "0.1.9"
+webrender_build = { version = "0.0.2", path = "../webrender_build" }
+
+[dependencies]
+bincode = "1.0"
+bitflags = "1.2"
+byteorder = "1.0"
+euclid = { version = "0.22.0", features = ["serde"] }
+fxhash = "0.2.1"
+gleam = "0.13.1"
+lazy_static = "1"
+log = "0.4"
+malloc_size_of_derive = "0.1"
+num-traits = "0.2"
+plane-split = "0.18"
+png = { optional = true, version = "0.16" }
+rayon = "1"
+ron = { optional = true, version = "0.8" }
+serde = { optional = true, version = "1.0", features = ["serde_derive"] }
+smallvec = "1"
+time = "0.1"
+api = { version = "0.62.0", path = "../webrender_api", package = "webrender_api" }
+webrender_build = { version = "0.0.2", path = "../webrender_build" }
+malloc_size_of = { version = "0.0.2", path = "../wr_malloc_size_of", package = "wr_malloc_size_of" }
+glyph_rasterizer = { version = "0.1.0", path = "../wr_glyph_rasterizer", package = "wr_glyph_rasterizer", default-features = false }
+svg_fmt = "0.4"
+tracy-rs = "0.1.2"
+derive_more = { version = "0.99", default-features = false, features = ["add_assign"] }
+etagere = "0.2.6"
+glean = "51.8.2"
+fog = { version = "0.1.0", optional = true }
+swgl = { path = "../swgl", optional = true }
+topological-sort = "0.1"
+
+[dev-dependencies]
+mozangle = "0.3.3"
+rand = "0.4"