enum_parity 0.2.0

a macro that enforces enum discriminant bit parity
Documentation
[dependencies.darling]
version = "0.21.3"

[dependencies.itertools]
version = "0.14.0"

[dependencies.proc-macro2]
features = ["span-locations"]
version = "1.0.104"

[dependencies.quote]
version = "1.0.42"

[dependencies.syn]
features = ["extra-traits", "fold", "full", "visit"]
version = "2.0.111"

[dev-dependencies.postcard]
features = ["use-std"]
version = "1.1.3"

[dev-dependencies.serde]
features = ["derive"]
version = "1.0.228"

[dev-dependencies.serde_repr]
version = "0.1.20"

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

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

[lints.clippy]
option_if_let_else = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[package]
authors = ["Ben Przybyszewski"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "mathematics"]
description = "a macro that enforces enum discriminant bit parity"
documentation = "https://docs.rs/enum_parity"
edition = "2024"
keywords = ["parity", "enum", "discriminant"]
license = "MIT OR Apache-2.0"
name = "enum_parity"
readme = "README.md"
repository = "https://github.com/przb/enum_parity"
rust-version = "1.87"
version = "0.2.0"

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