[package]
edition = "2018"
name = "kalk"
version = "3.2.3"
authors = ["PaddiM8"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A math evaluator library that supports user-defined functions, variables and units, and can handle fairly ambiguous syntax."
readme = "README.md"
keywords = [
"math",
"calculator",
"evaluator",
]
categories = [
"mathematics",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/PaddiM8/kalker/tree/master/kalk"
[package.metadata.wasm-pack.profile.release]
wasm-opt = [
"-Oz",
"--enable-mutable-globals",
]
[features]
default = [
"rug",
"gmp-mpfr-sys",
]
use-system-libs = ["gmp-mpfr-sys/use-system-libs"]
[lib]
name = "kalk"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.gmp-mpfr-sys]
version = "1.6.8"
features = [
"mpfr",
"c-no-tests",
]
optional = true
default-features = false
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.rug]
version = "1.28.0"
features = ["float"]
optional = true
[dependencies.wasm-bindgen]
version = "0.2.69"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.test-case]
version = "1.0.0"
[dev-dependencies.wasm-bindgen-test]
version = "0.3.19"