[package]
name = "nutype_macros"
version = "0.4.3-beta.1"
edition = "2021"
authors = ["Serhii Potapov <blake131313@gmail.com>"]
description = "The newtype with guarantees."
keywords = ["newtype", "validation", "sanitization", "derive", "invariant"]
license = "MIT"
repository = "https://github.com/greyblake/nutype"
homepage = "https://github.com/greyblake/nutype"
documentation = "https://docs.rs/nutype"
readme = "README.md"
categories = ["data-structures", "rust-patterns"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["extra-traits", "full"] }

# regex is used at compile-time to verify that a string literal provided
# as `regex = "^foo|bar$"` can be compiled to a Regex without errors.
regex = { version = "1", optional = true }
cfg-if = "1.0"
kinded = "0.3.0"
urlencoding = "2.0"

[lib]
proc-macro = true

[features]
std = []
serde = []
schemars08 = []
new_unchecked = []
arbitrary = []
