grid1d 0.7.0

A mathematically rigorous, type-safe Rust library for 1D grid operations and interval partitions, supporting both native and arbitrary-precision numerics.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "grid1d"
version = "0.7.0"
authors = ["Massimiliano Martinelli <martinelli@imati.cnr.it>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"
readme = "README.md"
keywords = [
    "mathematics",
    "numerics",
    "grid-1D",
    "arbitrary-precision",
]
categories = ["mathematics"]
license-file = "LICENSE.md"
repository = "https://gitlab.com/max.martinelli/grid1d"

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

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

[lib]
name = "grid1d"
path = "src/lib.rs"

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

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

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

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

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

[dependencies.duplicate]
version = "2.0.1"

[dependencies.getset]
version = "0.1.7"

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

[dependencies.rand]
version = "0.10"

[dependencies.rayon]
version = "1.12.0"

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

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

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

[dependencies.thiserror]
version = "2.0.18"

[dependencies.try_create]
version = "0.1.2"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.serde_json]
version = "1.0.150"