# 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-wr-glyph-rasterizer" version = "0.3.0" authors = ["The Mozilla Project Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A glyph rasterizer for WebRender" readme = "FORK.md" license = "MPL-2.0" repository = "https://github.com/zng-ui/zng-webrender" [lib] name = "zng_wr_glyph_rasterizer" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" [dependencies.api] version = "0.64.0" package = "zng-webrender-api" [dependencies.euclid] version = "0.22.0" features = ["serde"] [dependencies.fxhash] version = "0.2.1" [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.rayon] version = "1.10" [dependencies.serde] version = "1.0" features = ["serde_derive"] optional = true [dependencies.smallvec] version = "1.13" [dependencies.tracy-rs] version = "0.1.2" [dev-dependencies.env_logger] version = "0.10" default-features = false [dev-dependencies.euclid] version = "0.22" [dev-dependencies.gleam] version = "0.15" [dev-dependencies.glutin] version = "0.28" [dev-dependencies.rayon] version = "1" [dev-dependencies.winit] version = "0.26" [features] capture = [ "api/serialize", "dep:serde", "smallvec/serde", ] default = ["static_freetype"] dynamic_freetype = [] replay = [ "api/deserialize", "dep:serde", "smallvec/serde", ] static_freetype = ["freetype/freetype-sys"] [target.'cfg(any(target_os = "android", all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies.freetype] version = "0.7" default-features = false [target.'cfg(any(target_os = "android", all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies.libc] version = "0.2" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-foundation] version = "0.9.2" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-graphics] version = "0.23" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-text] version = "20.1" default-features = false [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc] version = "0.2" [target.'cfg(target_os = "windows")'.dependencies.dwrote] version = "0.11"