[package]
name = "nnn-macros"
version = "1.2.5"
edition = "2024"
authors = ["Victor LEFEBVRE <contact@vic1707.xyz>"]
description = "Generate your newtypes from a single macro."
documentation = "https://docs.rs/nnn"
homepage = "https://github.com/vic1707/nnn"
license = "WTFPL"
readme = "README.md"
repository = "https://github.com/vic1707/nnn"
categories = ["data-structures", "rust-patterns"]
keywords = ["newtype", "validation", "sanitization", "derive", "invariant"]
rust-version = "1.85.0"

[lib]
proc-macro = true

[features]
default = []
regex_validation = ["dep:regex"]

[dependencies]
proc-macro2 = "1.0.106"
quote = "1.0.46"
regex = { version = "1.12.4", optional = true }
syn = { version = "2.0.118", features = ["full"] }
