enum_parity 0.2.1

a macro that enforces enum discriminant bit parity
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.87"
name = "enum_parity"
version = "0.2.1"
authors = ["Ben Przybyszewski"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a macro that enforces enum discriminant bit parity"
documentation = "https://docs.rs/enum_parity"
readme = "README.md"
keywords = [
    "parity",
    "enum",
    "discriminant",
]
categories = [
    "encoding",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/przb/enum_parity"

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

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

[dependencies.darling]
version = "0.21.3"

[dependencies.itertools]
version = "0.14.0"

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

[dependencies.quote]
version = "1.0.42"

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

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

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

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

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

[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