nanoexpr 0.2.0

Fast no_std math expression parser and evaluator with zero heap allocation: formulas with variables and functions for microcontrollers, WebAssembly and C, in f32, f64, integers or calculator-exact decimals
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 = "2024"
rust-version = "1.85"
name = "nanoexpr"
version = "0.2.0"
authors = ["Alix ANNERAUD <alix@anneraud.fr>"]
build = false
include = [
    "/src",
    "/tests",
    "/README.md",
    "/LICENSE",
    "/CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast no_std math expression parser and evaluator with zero heap allocation: formulas with variables and functions for microcontrollers, WebAssembly and C, in f32, f64, integers or calculator-exact decimals"
homepage = "https://github.com/AlixANNERAUD/nanoexpr"
documentation = "https://docs.rs/nanoexpr"
readme = "README.md"
keywords = [
    "math",
    "expression",
    "calculator",
    "no-std",
    "embedded",
]
categories = [
    "embedded",
    "no-std",
    "no-std::no-alloc",
    "mathematics",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/AlixANNERAUD/nanoexpr"

[package.metadata.docs.rs]
all-features = true

[features]
decimal = ["fraction"]
default = ["libm"]
exact = [
    "decimal",
    "fraction",
]
fraction = []
libm = ["dep:libm"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.libm]
version = "0.2"
optional = true