# 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.0"
name = "nnn-macros"
version = "1.2.5"
authors = ["Victor LEFEBVRE <contact@vic1707.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate your newtypes from a single macro."
homepage = "https://github.com/vic1707/nnn"
documentation = "https://docs.rs/nnn"
readme = "README.md"
keywords = [
    "newtype",
    "validation",
    "sanitization",
    "derive",
    "invariant",
]
categories = [
    "data-structures",
    "rust-patterns",
]
license = "WTFPL"
repository = "https://github.com/vic1707/nnn"
resolver = "2"

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

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

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

[dependencies.quote]
version = "1.0.46"

[dependencies.regex]
version = "1.12.4"
optional = true

[dependencies.syn]
version = "2.0.118"
features = ["full"]
