[package]
edition = "2024"
name = "mathcat"
version = "0.7.6-beta.4"
authors = ["Neil Soiffer <soiffer@alum.mit.edu>"]
build = "build.rs"
exclude = [
"src/main.rs",
"docs",
"PythonScripts",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MathCAT: Math Capable Assistive Technology ('Speech and braille from MathML')"
homepage = "https://nsoiffer.github.io/MathCAT/"
documentation = "https://nsoiffer.github.io/MathCAT/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/NSoiffer/MathCAT"
[features]
enable-logs = ["android_logger"]
include-zip = []
tts = ["natural-tts"]
[lib]
name = "libmathcat"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[bin]]
name = "mathml2text"
path = "src/bin/mathml2text.rs"
[[test]]
name = "braille"
path = "tests/braille.rs"
[[test]]
name = "languages"
path = "tests/languages.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.bitflags]
version = "2.10"
[dependencies.cfg-if]
version = "1.0.1"
[dependencies.clap]
version = "4.5.60"
features = ["derive"]
[dependencies.dirs]
version = "6.0"
[dependencies.env_logger]
version = "0.11.8"
[dependencies.fastrand]
version = "2.3.0"
[dependencies.html-escape]
version = "0.2.13"
[dependencies.log]
version = "0.4"
[dependencies.phf]
version = "0.13"
features = ["macros"]
[dependencies.radix_fmt]
version = "1.0"
[dependencies.regex]
version = "1.10"
[dependencies.roman-numerals-rs]
version = "4.1.0"
[dependencies.strum]
version = "0.27.2"
[dependencies.strum_macros]
version = "0.27.2"
[dependencies.sxd-document]
version = "0.3"
[dependencies.sxd-xpath]
version = "0.4"
[dependencies.unicode-script]
version = "0.5"
[dependencies.yaml-rust]
version = "0.4"
[build-dependencies.bitflags]
version = "2.6"
[build-dependencies.zip]
version = "8.2"
features = [
"deflate",
"bzip2",
]
default-features = false
[target.'cfg(not(target_family = "wasm"))'.dependencies.android_logger]
version = "0.15.1"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.natural-tts]
version = "0.3.1"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.zip]
version = "8.2"
features = ["bzip2"]
default-features = false
[target.'cfg(target_family = "wasm")'.dependencies.zip]
version = "8.2"
features = ["deflate"]
default-features = false
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
"cfg(coverage)",
"cfg(coverage_nightly)",
]
[profile.release]
lto = true
debug = 0
[profile.test]
opt-level = 1
debug = 2