mathlex 0.4.1

Mathematical expression parser for LaTeX and plain text notation, producing a language-agnostic AST
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 = "2021"
rust-version = "1.85"
name = "mathlex"
version = "0.4.1"
authors = ["Christian C. Berclaz"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Mathematical expression parser for LaTeX and plain text notation, producing a language-agnostic AST"
homepage = "https://github.com/ChrisGVE/mathlex"
documentation = "https://docs.rs/mathlex"
readme = "README.md"
keywords = [
    "math",
    "parser",
    "latex",
    "ast",
    "expression",
]
categories = [
    "parsing",
    "mathematics",
    "science",
]
license = "MIT"
repository = "https://github.com/ChrisGVE/mathlex"

[features]
default = []
ffi = ["swift-bridge"]
serde = [
    "dep:serde",
    "dep:serde_json",
    "ordered-float/serde",
]

[lib]
name = "mathlex"
crate-type = [
    "staticlib",
    "cdylib",
    "lib",
]
path = "src/lib.rs"

[[test]]
name = "cross_roundtrip_tests"
path = "tests/cross_roundtrip_tests.rs"

[[test]]
name = "golden_fixtures"
path = "tests/golden_fixtures.rs"

[[test]]
name = "latex_property_tests"
path = "tests/latex_property_tests.rs"

[[test]]
name = "lenient_parsing_tests"
path = "tests/lenient_parsing_tests.rs"

[[test]]
name = "lib_tests"
path = "tests/lib_tests.rs"

[[test]]
name = "metadata_tests"
path = "tests/metadata_tests.rs"

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"

[[test]]
name = "real_world_examples"
path = "tests/real_world_examples.rs"

[[test]]
name = "roundtrip_tests"
path = "tests/roundtrip_tests.rs"

[[test]]
name = "serde_roundtrip"
path = "tests/serde_roundtrip.rs"

[[test]]
name = "serialization_precedence_tests"
path = "tests/serialization_precedence_tests.rs"

[[test]]
name = "set_theory_tests"
path = "tests/set_theory_tests.rs"

[[test]]
name = "test_derivative_standard_notation"
path = "tests/test_derivative_standard_notation.rs"

[[test]]
name = "test_plus_minus"
path = "tests/test_plus_minus.rs"

[[test]]
name = "test_task24"
path = "tests/test_task24.rs"

[[test]]
name = "variant_stability"
path = "tests/variant_stability.rs"

[[test]]
name = "vector_calculus_tests"
path = "tests/vector_calculus_tests.rs"

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

[dependencies.ordered-float]
version = "4"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.swift-bridge]
version = "0.1"
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.serde_json]
version = "1.0"

[build-dependencies.swift-bridge-build]
version = "0.1"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1