kalker/kalk/Cargo.toml

32 lines
839 B
TOML
Raw Normal View History

2020-05-28 23:46:35 +02:00
[package]
2020-06-04 19:43:43 +02:00
name = "kalk"
version = "1.4.5"
authors = ["PaddiM8"]
2020-05-28 23:46:35 +02:00
edition = "2018"
2020-06-12 00:08:14 +02:00
readme = "README.md"
description = "A math evaluator library that supports user-defined functions, variables and units, and can handle fairly ambiguous syntax."
repository = "https://github.com/PaddiM8/kalk/tree/master/kalk"
license = "MIT"
keywords = ["math", "calculator", "evaluator"]
categories = ["mathematics", "parser-implementations"]
2020-05-28 23:46:35 +02:00
2020-12-30 22:50:39 +01:00
[lib]
crate-type = ["cdylib", "rlib"]
2020-05-28 23:46:35 +02:00
[dependencies]
rug = { version = "1.11.0", features = ["float"], optional = true }
lazy_static = "1.4.0"
2020-12-30 22:50:39 +01:00
wasm-bindgen = "0.2.69"
[dev-dependencies]
wasm-bindgen-test = "0.3.19"
test-case = "1.0.0"
regex = "1"
[features]
default = ["rug"]
# Breaks when optimizing for some reason.
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-Oz", "--enable-mutable-globals"]