[package]
edition = "2021"
name = "zenith-float-num"
version = "1.0.0"
authors = ["Jeffrey S Carr <jeff@mcgeeresources.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Software big-float kernel for zenith-float."
homepage = "https://github.com/jscarr64/zenith-float"
readme = "README.md"
keywords = [
"arbitrary-precision",
"bigfloat",
"numeric",
"no-std",
]
categories = [
"mathematics",
"no-std",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jscarr64/zenith-float"
[features]
default = ["std"]
hdf5 = [
"std",
"dep:hdf5-rust",
"hdf5-rust/std",
]
mpfr-tests = ["random"]
random = ["dep:rand"]
serde = [
"dep:serde",
"std",
]
std = []
[lib]
name = "zenith_float_num"
path = "src/lib.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "proptest_props"
path = "tests/proptest_props.rs"
[[test]]
name = "radix_roundtrip"
path = "tests/radix_roundtrip.rs"
required-features = ["random"]
[[bench]]
name = "arithmetic"
path = "benches/arithmetic.rs"
harness = false
[[bench]]
name = "bench_core"
path = "benches/bench_core.rs"
[[bench]]
name = "composite"
path = "benches/composite.rs"
harness = false
[[bench]]
name = "linalg"
path = "benches/linalg.rs"
harness = false
[[bench]]
name = "shared"
path = "benches/shared.rs"
[[bench]]
name = "specials"
path = "benches/specials.rs"
harness = false
[[bench]]
name = "trans_common"
path = "benches/trans_common.rs"
[[bench]]
name = "transcendentals"
path = "benches/transcendentals.rs"
harness = false
[dependencies.hdf5-rust]
version = "1.0"
optional = true
default-features = false
[dependencies.itertools]
version = "0.10.3"
features = []
default-features = false
[dependencies.lazy_static]
version = "1.4.0"
features = ["spin_no_std"]
default-features = false
[dependencies.rand]
version = "0.8.5"
optional = true
[dependencies.serde]
version = "1.0.147"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.6"
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.serde_json]
version = "1.0.89"
[target.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.dev-dependencies.gmp-mpfr-sys]
version = "~1.6.0"
features = []
[target.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.dev-dependencies.rug]
version = "~1.20.0"
features = [
"float",
"rand",
"integer",
"rational",
]