# 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 = "2024"
name = "decimax"
version = "0.1.2"
authors = ["Wu Bingzheng <wubingzheng@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, fixed-size, floating-point decimal types."
documentation = "https://docs.rs/decimax"
readme = "README.md"
keywords = ["decimal"]
categories = [
    "data-structures",
    "finance",
    "mathematics",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT"
repository = "https://github.com/WuBingzheng/decimax"

[lib]
name = "decimax"
path = "src/lib.rs"

[[test]]
name = "add"
path = "tests/add.rs"

[[test]]
name = "div"
path = "tests/div.rs"

[[test]]
name = "equal"
path = "tests/equal.rs"

[[test]]
name = "mul"
path = "tests/mul.rs"

[[test]]
name = "order"
path = "tests/order.rs"

[[bench]]
name = "vs_rust_decimal"
path = "benches/vs_rust_decimal.rs"
harness = false

[dependencies.div-pow10]
version = "0.1"

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

[dev-dependencies.rust_decimal]
version = "1.40.0"
features = ["macros"]
