[package]
edition = "2021"
rust-version = "1.76"
name = "latex-rust"
version = "1.0.1"
authors = ["Jeffrey S Carr <jscarr1964@gmail.com>"]
build = false
include = [
"src/**",
"data/**",
"fonts/**",
"golds/**",
"tests/**",
"benches/layout.rs",
"LICENSE-MIT",
"LICENSE-APACHE",
"README.md",
"CONTRIBUTING.md",
"CHANGELOG.md",
"NOTICE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust LaTeX math renderer. Parse to AST, TeX-faithful layout in zenith-float, emit SVG, PNG, or egui shapes. No JavaScript, no webview, no runtime."
homepage = "https://github.com/jscarr64/LaTeX-Rust"
documentation = "https://docs.rs/latex-rust"
readme = "README.md"
keywords = [
"latex",
"math",
"rendering",
"svg",
"rust",
]
categories = [
"rendering",
"science",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jscarr64/LaTeX-Rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["std"]
egui = ["dep:egui"]
png = ["dep:tiny-skia"]
std = ["zenith-float/std"]
[lib]
name = "latex_rust"
path = "src/lib.rs"
[[test]]
name = "accent_golds"
path = "tests/accent_golds.rs"
[[test]]
name = "egui_golds"
path = "tests/egui_golds.rs"
[[test]]
name = "env_golds"
path = "tests/env_golds.rs"
[[test]]
name = "golds"
path = "tests/golds.rs"
[[test]]
name = "layout_golds"
path = "tests/layout_golds.rs"
[[test]]
name = "parse_golds"
path = "tests/parse_golds.rs"
[[test]]
name = "png_golds"
path = "tests/png_golds.rs"
[[test]]
name = "svg_golds"
path = "tests/svg_golds.rs"
[[test]]
name = "symbol_golds"
path = "tests/symbol_golds.rs"
[[bench]]
name = "layout"
path = "benches/layout.rs"
harness = false
required-features = []
[dependencies.egui]
version = "0.28"
optional = true
[dependencies.tiny-skia]
version = "0.11"
optional = true
[dependencies.ttf-parser]
version = "0.25"
[dependencies.zenith-float]
version = "1.0"