CPC/Cargo.toml
Joel Natividad 681e117453
turn off decimal dependency default features (#33)
* turn off decimal dependency default features

to get rid of https://rustsec.org/advisories/RUSTSEC-2022-0004

* disable default features, but still enable serde and ord_subset

just dropping rustc-serialize as per @probablykasper
2023-03-30 00:04:35 +02:00

30 lines
734 B
TOML

[package]
name = "cpc"
version = "1.9.0"
description = "evaluates math expressions, with support for units and conversion between units"
authors = ["Kasper Henningsen"]
edition = "2021"
readme = "README.md"
license = "MIT"
homepage = "https://github.com/probablykasper/cpc#readme"
repository = "https://github.com/probablykasper/cpc"
documentation = "https://docs.rs/cpc"
keywords = ["math", "expression", "evaluate", "units", "convert"]
categories = [
"mathematics",
"science",
"parsing",
"text-processing",
"value-formatting",
]
[dependencies]
decimal = { version = "2.1", default-features = false, features = [
"serde",
"ord_subset",
] }
unicode-segmentation = "1.10"
[dev-dependencies]
regex = "1.7"