Files
obscura/crates/obscura-render/Cargo.toml
T

23 lines
709 B
TOML

[package]
name = "obscura-render"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Optional scoped render layer for Obscura: layout (taffy) and, with the paint feature, text and raster output for screenshots."
[features]
default = []
# Rasterize the laid-out tree to a pixmap (tiny-skia) with text (ab_glyph).
# Off by default; the layout core (getBoundingClientRect etc.) works without it.
paint = ["dep:tiny-skia", "dep:ab_glyph"]
[dependencies]
taffy = { workspace = true }
obscura-dom = { workspace = true }
tiny-skia = { workspace = true, optional = true }
ab_glyph = { workspace = true, optional = true }
[lib]
path = "src/lib.rs"