ancdec 0.3.0

Fast, precise fixed-point decimal with independent int/frac storage (u64: 19+19, u128: 38+38 digits)
Documentation
# 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"
rust-version = "1.82"
name = "ancdec"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, precise fixed-point decimal with independent int/frac storage (u64: 19+19, u128: 38+38 digits)"
readme = "README.md"
keywords = [
    "decimal",
    "numeric",
    "precision",
    "exact-arithmetic",
    "scientific",
]
categories = [
    "no-std",
    "mathematics",
    "science",
    "simulation",
    "embedded",
]
license = "MIT"
repository = "https://github.com/ktg0413/ancdec"

[features]
dec128 = []
dec32 = []
dec64 = []
dec8 = []
default = [
    "dec8",
    "dec32",
    "dec64",
    "dec128",
]
serde = ["dep:serde"]
sqlx = [
    "dep:sqlx",
    "std",
    "dec64",
]
std = []

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

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

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

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

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

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

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.sqlx]
version = "0.8"
features = [
    "postgres",
    "runtime-tokio",
]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.rust_decimal]
version = "1.33"
features = ["maths"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]