iced_math 0.2.0

Native LaTeX math widget for Iced 0.14 — pure Rust, zero JS
[package]
name = "iced_math"
version = "0.2.0"
edition = "2021"
rust-version = "1.88"
description = "Native LaTeX math widget for Iced 0.14 — pure Rust, zero JS"
repository = "https://github.com/minchenlee/iced_math"
license = "MIT OR Apache-2.0"
keywords = ["iced", "math", "latex", "katex", "tex"]
categories = ["gui", "rendering"]

[dependencies]
# Library needs svg+advanced for rendering. iced 0.14 also hard-requires an
# executor feature at compile time (`compile_error!` otherwise), so `thread-pool`
# stays — it's the only executor that pulls no extra async runtime. `x11` is the
# one purely-windowing feature we drop: it's Linux display only, viewer-specific,
# and re-added as a dev-dep below so it never burdens downstream users.
iced = { version = "0.14", default-features = false, features = ["svg", "advanced", "thread-pool"] }
pulldown-latex = "0.7"
ttf-parser = "0.25"

[dev-dependencies]
insta = { version = "1", features = ["yaml", "glob"] }
resvg = "0.46"
tiny-skia = "0.11"
criterion = "0.5"
# Activates iced's renderer + windowing shell for the `viewer` example only.
# thread-pool/x11 used to ride in via the library dep; now that the library no
# longer forces them, the example must request them here (x11 matters on Linux).
iced = { version = "0.14", default-features = false, features = ["wgpu", "tiny-skia", "thread-pool", "x11"] }

[lib]
name = "iced_math"
path = "src/lib.rs"

[[bench]]
name = "pipeline"
harness = false