[package] name = "cpc" version = "3.0.0" description = "evaluates math expressions, with support for units and conversion between units" authors = ["Kasper Henningsen"] edition = "2024" 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", ] [lib] crate-type = ["cdylib", "rlib"] [dependencies] fastnum = "0.2" unicode-segmentation = "1.12" web-time = "1.1.0" [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1.7" wasm-bindgen = "0.2" js-sys = "0.3" [dev-dependencies] regex = "1.11" [lints.clippy] comparison_chain = "allow" if_same_then_else = "allow" match_like_matches_macro = "allow" get_first = "allow"