[package] name = "dec" authors = ["Materialize, Inc."] readme = "../README.md" description = "A decimal arithmetic library providing high-level, safe bindings to libdecnumber." documentation = "https://docs.rs/dec" repository = "https://github.com/MaterializeInc/rust-decnumber" license = "Apache-2.0" categories = ["api-bindings"] keywords = ["decimal", "decnumber"] version = "0.4.9" edition = "2018" [dependencies] decnumber-sys = { version = "0.1.5", path = "../decnumber-sys" } libc = "0.2.82" num-traits = { version = "0.2.14", optional = true } paste = "1.0.11" serde = { version = "1.0.124", features = ["derive"], optional = true } static_assertions = "1.1.0" [dev-dependencies] criterion = "0.3.0" rand = "0.7.3" serde_json = "1.0.89" serde_test = "1.0.117" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [[bench]] name = "dec" harness = false [[test]] name = "serde" required-features = ["serde"]