# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "zng-webrender" version = "0.64.1" authors = ["Glenn Watson "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A GPU accelerated 2D renderer for web content" readme = "FORK.md" license = "MPL-2.0" repository = "https://github.com/zng-ui/zng-webrender" [lib] name = "zng_webrender" path = "src/lib.rs" [[test]] name = "angle_shader_validation" path = "tests/angle_shader_validation.rs" [dependencies.allocator-api2] version = "0.2.18" features = [ "alloc", "serde", ] [dependencies.api] version = "0.64.0" package = "zng-webrender-api" [dependencies.bincode] version = "1.0" [dependencies.bitflags] version = "2" features = ["serde"] [dependencies.byteorder] version = "1.0" [dependencies.derive_more] version = "0.99" features = ["add_assign"] default-features = false [dependencies.etagere] version = "0.2.13" [dependencies.euclid] version = "0.22.10" features = ["serde"] [dependencies.fxhash] version = "0.2.1" [dependencies.gleam] version = "0.15.0" [dependencies.glyph_rasterizer] version = "0.3.0" default-features = false package = "zng-wr-glyph-rasterizer" [dependencies.lazy_static] version = "1.4" [dependencies.log] version = "0.4" [dependencies.malloc_size_of] version = "0.0.3" package = "zng-wr-malloc-size-of" [dependencies.malloc_size_of_derive] version = "0.1" [dependencies.num-traits] version = "0.2" [dependencies.peek-poke] version = "0.3.2" package = "zng-peek-poke" [dependencies.plane-split] version = "0.18" [dependencies.png] version = "0.16" optional = true [dependencies.rayon] version = "1.10" [dependencies.ron] version = "0.8" optional = true [dependencies.serde] version = "1.0" features = ["serde_derive"] optional = true [dependencies.smallvec] version = "1.13" [dependencies.svg_fmt] version = "0.4" [dependencies.swgl] version = "0.3.1" optional = true package = "zng-swgl" [dependencies.topological-sort] version = "0.1" [dependencies.tracy-rs] version = "0.1.2" [dependencies.webrender_build] version = "0.0.4" package = "zng-webrender-build" [dev-dependencies.mozangle] version = "0.3.3" [dev-dependencies.rand] version = "0.4" [build-dependencies.build-parallel] version = "0.1.2" [build-dependencies.glslopt] version = "0.1.11" [build-dependencies.webrender_build] version = "0.0.4" package = "zng-webrender-build" [features] capture = [ "api/serialize", "dep:ron", "dep:serde", "smallvec/serde", "etagere/serialization", "glyph_rasterizer/capture", ] default = ["static_freetype"] display_list_stats = ["api/display_list_stats"] dynamic_freetype = ["glyph_rasterizer/dynamic_freetype"] leak_checks = [] profiler = ["tracy-rs/enable_profiler"] replay = [ "api/deserialize", "dep:ron", "dep:serde", "smallvec/serde", "etagere/serialization", "glyph_rasterizer/replay", ] serialize_program = [ "dep:serde", "webrender_build/serialize_program", ] static_freetype = ["glyph_rasterizer/static_freetype"] sw_compositor = ["dep:swgl"]