grid1d 0.3.4

A mathematically rigorous, type-safe Rust library for 1D grid operations and interval partitions, supporting both native and arbitrary-precision numerics.
Documentation
[[bench]]
harness = false
name = "grid1d_benchmarks"
path = "benches/grid1d_benchmarks.rs"

[[bench]]
harness = false
name = "interval_benchmarks"
path = "benches/interval_benchmarks.rs"

[dependencies.derive_more]
features = ["full"]
version = "2.1.1"

[dependencies.duplicate]
version = "2.0.1"

[dependencies.getset]
version = "0.1.6"

[dependencies.into_inner]
version = "0.1.2"

[dependencies.more-asserts]
version = "0.3.1"

[dependencies.num]
version = "0.4.3"

[dependencies.num-valid]
version = "0.3.2"

[dependencies.nutype]
features = ["serde"]
version = "0.6.2"

[dependencies.rand]
version = "0.9.2"

[dependencies.rayon]
version = "1.11.0"

[dependencies.rug]
optional = true
version = "1.28.0"

[dependencies.serde]
features = ["derive"]
version = "1.0.228"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sorted-vec]
features = ["serde"]
version = "0.8.10"

[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"

[[example]]
name = "coords1d_serialization"
path = "examples/coords1d_serialization.rs"

[[example]]
name = "generic_coords_in_domain"
path = "examples/generic_coords_in_domain.rs"

[[example]]
name = "interval_hull_generalized"
path = "examples/interval_hull_generalized.rs"

[features]
backtrace = ["num-valid/backtrace"]
rug = ["num-valid/rug", "dep:rug"]

[lib]
name = "grid1d"
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 mathematically rigorous, type-safe Rust library for 1D grid operations and interval partitions, supporting both native and arbitrary-precision numerics."
documentation = "https://docs.rs/grid1d"
edition = "2024"
keywords = ["mathematics", "numerics", "grid-1D", "arbitrary-precision"]
license-file = "LICENSE.md"
name = "grid1d"
readme = "README.md"
repository = "https://gitlab.com/max.martinelli/grid1d"
version = "0.3.4"

[package.metadata.docs.rs]
features = ["rug"]

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"