bijective 0.1.0

Compile-time enforcement of surjective, injective, and bijective properties on enum-to-enum match expressions
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 = "bijective"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile-time enforcement of surjective, injective, and bijective properties on enum-to-enum match expressions"
homepage = "https://github.com/sodagunz/bijective"
documentation = "https://docs.rs/bijective"
readme = "README.md"
keywords = [
    "bijective",
    "enum",
    "proc-macro",
    "surjective",
    "injective",
]
categories = [
    "development-tools",
    "rust-patterns",
]
license = "MIT"
repository = "https://github.com/sodagunz/bijective"

[lib]
name = "bijective"
path = "src/lib.rs"
proc-macro = true

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

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
]

[dev-dependencies.trybuild]
version = "1"
features = ["diff"]

[lints.clippy]
nursery = "warn"
pedantic = "warn"