[[bench]]
harness = false
name = "main"
path = "benches/main.rs"
[dependencies.borsh]
features = ["derive"]
optional = true
version = "1.5.1"
[dependencies.malachite]
optional = true
version = "0.4.16"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.paste]
version = "1.0.15"
[dependencies.ruint]
version = "1.12.3"
[dependencies.serde]
features = ["derive"]
optional = true
version = "~1.0"
[dependencies.thiserror]
version = "1.0.63"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.expect-test]
version = "1.5.0"
[dev-dependencies.malachite]
version = "0.4.16"
[dev-dependencies.proptest]
version = "1.5.0"
[features]
borsh = ["dep:borsh"]
malachite = ["dep:malachite"]
serde = ["dep:serde"]
[lints.clippy]
arithmetic_side_effects = "warn"
disallowed_methods = "warn"
match_bool = "allow"
module_name_repetitions = "allow"
pedantic = "warn"
[package]
authors = ["Oliver Chalk"]
categories = ["finance", "mathematics"]
description = "Integer-backed decimals with constant precision"
edition = "2021"
homepage = "https://github.com/OliverNChalk/const-decimal"
keywords = ["decimal", "math", "finance"]
license = "MIT OR Apache-2.0"
name = "const-decimal"
readme = "README.md"
repository = "https://github.com/OliverNChalk/const-decimal"
version = "0.3.0"
[profile.paranoid]
debug-assertions = true
inherits = "release"
overflow-checks = true
[profile.performance]
codegen-units = 1
incremental = false
inherits = "release"
lto = "fat"
[profile.release]
debug = 2
opt-level = 3