rust_intervals 1.0.1

Intervals arithmetic with any combination of open, closed or infinite bounds, along with operations like intersection, convex hull, union, difference,...
# 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 = "2018"
name = "rust_intervals"
version = "1.0.1"
authors = ["Emmanuel Briot <briot.emmanuel@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Intervals arithmetic with any combination of open, closed or infinite bounds, along with operations like intersection, convex hull, union, difference,..."
documentation = "https://docs.rs/rust_intervals/"
readme = "README.md"
keywords = [
    "intervals",
    "open-closed",
    "ranges",
    "intersection",
    "convex_hull",
]
license = "MIT"
repository = "https://github.com/briot/rust_intervals"

[features]
default = ["std"]
rust_decimal = ["dep:rust_decimal"]
serde = ["dep:serde"]
serde_tests = [
    "serde",
    "dep:serde_json",
    "dep:ron",
]
std = []

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

[dependencies.chrono]
version = "0.4.24"
optional = true

[dependencies.ron]
version = "0.8"
optional = true

[dependencies.rust_decimal]
version = "1.0"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0"
optional = true

[dev-dependencies.mutants]
version = "0.0.3"

[lints.clippy]
all = "allow"
alloc_instead_of_core = "allow"
cargo = "allow"
complexity = "allow"
fallible_impl_from = "deny"
fn_params_excessive_bools = "deny"
indexing_slicing = "deny"
must_use_candidate = "deny"
pedantic = "allow"
perf = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"
style = "allow"
unneeded_field_pattern = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"