leaf-raster 0.1.21

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.
Documentation
# 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 = "2024"
name = "leaf-raster"
version = "0.1.21"
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"