match-lang 0.2.0

Exhaustiveness and usefulness checking for pattern matching, generic over a language's constructors.
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"
rust-version = "1.85"
name = "match-lang"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Exhaustiveness and usefulness checking for pattern matching, generic over a language's constructors."
homepage = "https://github.com/jamesgober/match-lang"
documentation = "https://docs.rs/match-lang"
readme = "README.md"
keywords = [
    "pattern-matching",
    "exhaustiveness",
    "compiler",
    "decision-tree",
    "lexersketch",
]
categories = [
    "compilers",
    "algorithms",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/match-lang"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

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

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

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

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

[dependencies]

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

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

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"