[package]
edition = "2024"
name = "leaf-raster"
version = "0.1.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CPU rasterization shared by leaf frontends: image decode/fit/path policy and oversized-text rasters with the caret and selection painted into the pixels. Backend-agnostic — it produces RGBA frames, not toolkit scenes."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/diaryx-org/leaf"
[lib]
name = "leaf_raster"
path = "src/lib.rs"
[dependencies.cosmic-text]
version = "0.19"
[dependencies.image]
version = "0.25"
features = [
"png",
"jpeg",
"gif",
"bmp",
"webp",
]
default-features = false
[dependencies.resvg]
version = "0.46"