[package]
edition = "2024"
name = "imagnum"
version = "0.2.30"
authors = ["SirPigari"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "imagnum-cli"
description = "A Rust library providing versatile numeric types supporting integers and floats designed for the Lucia programming language."
homepage = "https://github.com/SirPigari/imagnum"
documentation = "https://docs.rs/imagnum"
readme = "README.md"
keywords = [
"numeric",
"numbers",
"float",
"integer",
"lucia",
]
categories = ["mathematics"]
license = "MIT"
repository = "https://github.com/SirPigari/imagnum"
[features]
cli = []
default = ["cli"]
random = ["dep:rand"]
serde = [
"dep:serde",
"dep:serde_json",
]
[lib]
name = "imagnum"
path = "imagnum.rs"
[[bin]]
name = "imagnum-cli"
path = "imagnum-cli.rs"
required-features = ["cli"]
[[test]]
name = "all_features"
path = "tests/all_features.rs"
[[test]]
name = "approx_eq"
path = "tests/approx_eq.rs"
[[test]]
name = "bit_ops"
path = "tests/bit_ops.rs"
[[test]]
name = "complex"
path = "tests/complex.rs"
[[test]]
name = "display_format"
path = "tests/display_format.rs"
[[test]]
name = "features"
path = "tests/features.rs"
[[test]]
name = "from_hex"
path = "tests/from_hex.rs"
[[test]]
name = "mixed_ref_value_ops"
path = "tests/mixed_ref_value_ops.rs"
[[test]]
name = "negative_numbers"
path = "tests/negative_numbers.rs"
[[test]]
name = "ord"
path = "tests/ord.rs"
[[test]]
name = "overflow"
path = "tests/overflow.rs"
[[test]]
name = "pow"
path = "tests/pow.rs"
[[test]]
name = "radix"
path = "tests/radix.rs"
[[test]]
name = "recurring_equality"
path = "tests/recurring_equality.rs"
[[test]]
name = "ref_ops"
path = "tests/ref_ops.rs"
[[test]]
name = "small_types"
path = "tests/small_types.rs"
[[test]]
name = "sqrt"
path = "tests/sqrt.rs"
[[test]]
name = "transcendental"
path = "tests/transcendental.rs"
[dependencies.bigdecimal]
version = "0.4.10"
[dependencies.num-integer]
version = "0.1"
[dependencies.num-traits]
version = "0.2"
[dependencies.once_cell]
version = "1.21.3"
[dependencies.pastey]
version = "0.2.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dev-dependencies]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.num-bigint]
version = "0.4"
features = ["rand"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "0.9.2"
optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies.num-bigint]
version = "0.4"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
panic = "abort"
strip = false