[dependencies.exhaust-macros]
version = "0.2.1"
[dependencies.itertools]
default-features = false
features = ["use_alloc"]
optional = true
version = ">=0.13.0, <0.15"
[dependencies.mutants]
version = "0.0.3"
[dependencies.paste]
version = "1.0.5"
[features]
alloc = ["dep:itertools"]
default = ["std"]
std = ["alloc"]
[lib]
name = "exhaust"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "rust-patterns", "no-std"]
description = "Trait and derive macro for working with all possible values of a type (exhaustive enumeration)."
edition = "2021"
keywords = ["exhaustive"]
license = "MIT OR Apache-2.0"
name = "exhaust"
readme = "README.md"
repository = "https://github.com/kpreid/exhaust/"
rust-version = "1.80.0"
version = "0.2.2"
[[test]]
name = "alloc_impls"
path = "tests/alloc_impls.rs"
required-features = ["alloc"]
[[test]]
name = "core_impls"
path = "tests/core_impls.rs"
[[test]]
name = "deriving"
path = "tests/deriving.rs"
[[test]]
name = "keyed_collections"
path = "tests/keyed_collections.rs"
required-features = ["alloc"]
[[test]]
name = "std_impls"
path = "tests/std_impls.rs"
required-features = ["std"]