2020-05-28 23:46:35 +02:00
|
|
|
[package]
|
2020-06-04 19:43:43 +02:00
|
|
|
name = "kalk"
|
2022-06-03 00:21:53 +02:00
|
|
|
version = "3.0.0"
|
2020-06-11 23:47:03 +02:00
|
|
|
authors = ["PaddiM8"]
|
2020-05-28 23:46:35 +02:00
|
|
|
edition = "2018"
|
2020-06-12 00:08:14 +02:00
|
|
|
readme = "README.md"
|
2020-06-18 18:03:40 +02:00
|
|
|
description = "A math evaluator library that supports user-defined functions, variables and units, and can handle fairly ambiguous syntax."
|
2021-06-02 22:37:24 +02:00
|
|
|
repository = "https://github.com/PaddiM8/kalker/tree/master/kalk"
|
2020-06-11 23:47:03 +02:00
|
|
|
license = "MIT"
|
|
|
|
keywords = ["math", "calculator", "evaluator"]
|
2020-06-11 23:52:12 +02:00
|
|
|
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]
|
2022-11-05 23:47:39 +01:00
|
|
|
rug = { version = "1.17.0", features = ["float"], optional = true }
|
2020-06-15 21:27:47 +02:00
|
|
|
lazy_static = "1.4.0"
|
2020-12-30 22:50:39 +01:00
|
|
|
wasm-bindgen = "0.2.69"
|
2022-11-05 23:47:39 +01:00
|
|
|
gmp-mpfr-sys = "1.4.9"
|
2020-12-30 22:50:39 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
wasm-bindgen-test = "0.3.19"
|
2021-01-03 00:07:30 +01:00
|
|
|
test-case = "1.0.0"
|
|
|
|
regex = "1"
|
2020-12-30 16:03:02 +01:00
|
|
|
|
|
|
|
[features]
|
2020-12-31 01:47:09 +01:00
|
|
|
default = ["rug"]
|
|
|
|
|
|
|
|
# Breaks when optimizing for some reason.
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
2021-01-02 01:00:54 +01:00
|
|
|
wasm-opt = ["-Oz", "--enable-mutable-globals"]
|