[package]
edition = "2024"
name = "num-valid"
version = "0.3.3"
authors = ["Massimiliano Martinelli <martinelli@imati.cnr.it>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A robust numerical library providing validated types for real and complex numbers to prevent common floating-point errors like NaN propagation. Features a generic, layered architecture with support for native f64 and optional arbitrary-precision arithmetic."
documentation = "https://docs.rs/num-valid"
readme = "README.md"
keywords = [
"mathematics",
"numerics",
"complex-numbers",
"arbitrary-precision",
]
categories = ["mathematics"]
license-file = "LICENSE.md"
repository = "https://gitlab.com/max.martinelli/num-valid"
[package.metadata.docs.rs]
features = ["rug"]
[features]
backtrace = []
rug = ["dep:rug"]
[lib]
name = "num_valid"
path = "src/lib.rs"
[[test]]
name = "proptest_properties"
path = "tests/proptest_properties.rs"
[[test]]
name = "readme_examples"
path = "tests/readme_examples.rs"
[[bench]]
name = "performance_benchmark"
path = "benches/performance_benchmark.rs"
harness = false
[dependencies.approx]
version = "0.5"
[dependencies.az]
version = "1.3"
[dependencies.bytemuck]
version = "1.25"
features = ["extern_crate_alloc"]
[dependencies.derive_more]
version = "2.1"
features = ["full"]
[dependencies.duplicate]
version = "2.0.1"
[dependencies.getset]
version = "0.1.6"
[dependencies.into_inner]
version = "0.1.2"
[dependencies.num]
version = "0.4.3"
features = ["serde"]
[dependencies.num-traits]
version = "0.2.19"
[dependencies.paste]
version = "1.0"
[dependencies.rand]
version = "0.10"
[dependencies.rug]
version = "1.28.1"
features = ["serde"]
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
[dependencies.try_create]
version = "0.1.2"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.10"
[dev-dependencies.serde_json]
version = "1.0"