[dependencies.rust_decimal]
features = ["maths"]
optional = true
version = "1.39"
[dependencies.ryu]
optional = true
version = "1"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dev-dependencies.proptest]
version = "1.8"
[dev-dependencies.serde_json]
version = "1"
[[example]]
name = "data_processing"
path = "examples/data_processing.rs"
[[example]]
name = "financial"
path = "examples/financial.rs"
[[example]]
name = "scientific"
path = "examples/scientific.rs"
[features]
bitwise = []
decimal = ["dep:rust_decimal"]
default = ["decimal"]
serde = ["dep:serde", "dep:ryu"]
[lib]
crate-type = ["rlib"]
name = "uninum"
path = "src/lib.rs"
[package]
authors = ["Synext Solution Sdn. Bhd. <opensource@synext.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["mathematics", "data-structures"]
description = "A robust, ergonomic unified number type for Rust with automatic overflow handling, type promotion, and cross-type consistency."
edition = "2024"
keywords = ["number", "numeric", "decimal", "arithmetic", "math"]
license = "MIT OR Apache-2.0"
name = "uninum"
readme = "README.md"
repository = "https://github.com/Synext-Solution/uninum"
rust-version = "1.88.0"
version = "0.1.1"
[[test]]
name = "bitwise"
path = "tests/bitwise.rs"
[[test]]
name = "conversions"
path = "tests/conversions.rs"
[[test]]
name = "decimal_pool"
path = "tests/decimal_pool.rs"
[[test]]
name = "float"
path = "tests/float.rs"
[[test]]
name = "macros"
path = "tests/macros.rs"
[[test]]
name = "math"
path = "tests/math.rs"
[[test]]
name = "math_functions"
path = "tests/math_functions.rs"
[[test]]
name = "ops"
path = "tests/ops.rs"
[[test]]
name = "primitives_coverage"
path = "tests/primitives_coverage.rs"
[[test]]
name = "ref_reference_ops"
path = "tests/ref_reference_ops.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[[test]]
name = "stress_proptest"
path = "tests/stress_proptest.rs"
[[test]]
name = "traits"
path = "tests/traits.rs"
[[test]]
name = "types"
path = "tests/types.rs"