[package]
edition = "2024"
name = "hyperreal"
version = "0.12.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Exact rational and computable real arithmetic in Rust"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/timschmidt/hyperreal/"
[features]
cached-f32-approx = []
cached-f64-approx = []
default = []
dispatch-trace = []
simple = []
[lib]
name = "hyperreal"
path = "src/lib.rs"
[[bin]]
name = "hyperreal"
path = "src/main.rs"
required-features = ["simple"]
[[example]]
name = "computable_graphs"
path = "examples/computable_graphs.rs"
[[example]]
name = "computable_refinement_steps"
path = "examples/computable_refinement_steps.rs"
[[test]]
name = "adversarial_props"
path = "tests/adversarial_props.rs"
[[test]]
name = "adversarial_regressions"
path = "tests/adversarial_regressions.rs"
[[test]]
name = "adversarial_semantics"
path = "tests/adversarial_semantics.rs"
[[test]]
name = "numeric_roundtrip_formats"
path = "tests/numeric_roundtrip_formats.rs"
[[bench]]
name = "adversarial_library"
path = "benches/adversarial_library.rs"
harness = false
[[bench]]
name = "adversarial_transcendentals"
path = "benches/adversarial_transcendentals.rs"
harness = false
[[bench]]
name = "borrowed_ops"
path = "benches/borrowed_ops.rs"
harness = false
[[bench]]
name = "dispatch_trace"
path = "benches/dispatch_trace.rs"
harness = false
required-features = ["dispatch-trace"]
[[bench]]
name = "float_convert"
path = "benches/float_convert.rs"
harness = false
[[bench]]
name = "library_perf"
path = "benches/library_perf.rs"
harness = false
required-features = ["simple"]
[[bench]]
name = "numerical_micro"
path = "benches/numerical_micro.rs"
harness = false
[[bench]]
name = "scalar_micro"
path = "benches/scalar_micro.rs"
harness = false
[dependencies.ciborium]
version = "0.2.2"
[dependencies.num]
version = "0.4.3"
features = [
"num-bigint",
"serde",
]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1.7.0"