arithmetic-nonmax 0.4.0

Integer types that cannot be the maximum value, allowing for memory layout optimization and intuitive arithmetic operations.
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 = "arithmetic-nonmax"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Integer types that cannot be the maximum value, allowing for memory layout optimization and intuitive arithmetic operations."
readme = "README.md"
keywords = [
    "nonmax",
    "optimization",
    "niche",
    "integer",
    "arithmetic",
]
categories = [
    "data-structures",
    "no-std",
    "embedded",
]
license = "CC0-1.0"
repository = "https://github.com/northward1/arithmetic-nonmax"

[features]
alloc = []
default = ["std"]
std = ["alloc"]

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

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

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

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

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

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

[dev-dependencies.divan]
version = "0.1.21"

[dev-dependencies.rand]
version = "0.9.2"