[package]
edition = "2021"
rust-version = "1.87"
name = "formulary"
version = "0.3.0"
build = false
exclude = ["third_party"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native MathML Core layout: OpenType MATH metrics in, resolution-independent display list out"
documentation = "https://docs.rs/formulary"
readme = "README.md"
keywords = [
"mathml",
"math",
"layout",
"typesetting",
]
categories = [
"mathematics",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ophymx/formulary"
[features]
default = [
"svg",
"shaping",
]
shaping = ["dep:harfrust"]
svg = []
[lib]
name = "formulary"
path = "src/lib.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "wpt_corpus"
path = "tests/wpt_corpus.rs"
[dependencies.harfrust]
version = "0.13"
optional = true
[dependencies.read-fonts]
version = "0.43.3"
[dependencies.roxmltree]
version = "0.21"
[dependencies.skrifa]
version = "0.46"
features = ["std"]
default-features = false