[package]
edition = "2021"
rust-version = "1.81"
name = "fpdec"
version = "0.14.0"
authors = ["Michael Amrhein <michael@adrhinum.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Decimal floating-point arithmetic."
homepage = "https://github.com/mamrhein/fpdec.rs"
documentation = "https://docs.rs/fpdec/"
readme = "README.md"
keywords = [
"number",
"decimal",
"floating-point",
"arithmetics",
]
categories = [
"data-structures",
"mathematics",
]
license-file = "LICENSE.TXT"
repository = "https://github.com/mamrhein/fpdec.rs"
[features]
default = ["std"]
packed = ["rkyv?/unaligned"]
serde-as-str = ["dep:serde"]
std = []
[lib]
name = "fpdec"
path = "src/lib.rs"
[[test]]
name = "tests_macros"
path = "tests/tests_macros.rs"
[dependencies.fpdec-core]
version = "0.13.0"
[dependencies.fpdec-macros]
version = "0.13.0"
[dependencies.num-traits]
version = "0.2.0"
optional = true
[dependencies.rkyv]
version = "0.8"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.serde_json]
version = "1.0"