[[bench]]
harness = false
name = "performance_benchmark"
path = "benches/performance_benchmark.rs"
[dependencies.approx]
version = "0.5"
[dependencies.az]
version = "1.2"
[dependencies.bytemuck]
features = ["extern_crate_alloc"]
version = "1.24"
[dependencies.derive_more]
features = ["full"]
version = "2.1"
[dependencies.duplicate]
version = "2.0.1"
[dependencies.getset]
version = "0.1.6"
[dependencies.into_inner]
version = "0.1.2"
[dependencies.num]
features = ["serde"]
version = "0.4.3"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.paste]
version = "1.0"
[dependencies.rand]
version = "0.9.2"
[dependencies.rug]
features = ["serde"]
optional = true
version = "1.28.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.228"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.try_create]
version = "0.1.2"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.8"
[dev-dependencies.proptest]
version = "1.9"
[dev-dependencies.serde_json]
version = "1.0"
[features]
backtrace = []
rug = ["dep:rug"]
[lib]
name = "num_valid"
path = "src/lib.rs"
[package]
authors = ["Massimiliano Martinelli <martinelli@imati.cnr.it>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["mathematics"]
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"
edition = "2024"
keywords = ["mathematics", "numerics", "complex-numbers", "arbitrary-precision"]
license-file = "LICENSE.md"
name = "num-valid"
readme = "README.md"
repository = "https://gitlab.com/max.martinelli/num-valid"
version = "0.3.2"
[package.metadata.docs.rs]
features = ["rug"]
[[test]]
name = "proptest_properties"
path = "tests/proptest_properties.rs"
[[test]]
name = "readme_examples"
path = "tests/readme_examples.rs"