# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "const-decimal" version = "0.3.0" authors = ["Oliver Chalk"] description = "Integer-backed decimals with constant precision" homepage = "https://github.com/OliverNChalk/const-decimal" readme = "README.md" keywords = [ "decimal", "math", "finance", ] categories = [ "finance", "mathematics", ] license = "MIT OR Apache-2.0" repository = "https://github.com/OliverNChalk/const-decimal" [profile.paranoid] debug-assertions = true overflow-checks = true inherits = "release" [profile.performance] lto = "fat" codegen-units = 1 incremental = false inherits = "release" [profile.release] opt-level = 3 debug = 2 [[bench]] name = "main" path = "benches/main.rs" harness = false [dependencies.borsh] version = "1.5.1" features = ["derive"] optional = true [dependencies.malachite] version = "0.4.16" optional = true [dependencies.num-traits] version = "0.2.19" [dependencies.paste] version = "1.0.15" [dependencies.ruint] version = "1.12.3" [dependencies.serde] version = "~1.0" features = ["derive"] optional = true [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"