[package]
edition = "2024"
rust-version = "1.98"
name = "annotated-derive"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The derive macros of annotated; use them through the annotated crate"
readme = "README.md"
keywords = [
"validation",
"validate",
"serde",
"derive",
"annotations",
]
categories = [
"data-structures",
"encoding",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pablocom/annotated"
[features]
regex = ["dep:regex-syntax"]
[lib]
name = "annotated_derive"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1.0.107"
[dependencies.quote]
version = "1.0.47"
[dependencies.regex-syntax]
version = "0.8.11"
optional = true
[dependencies.serde_derive_internals]
version = "0.30.0"
[dependencies.syn]
version = "3.0.10"
features = ["full"]
[lints.clippy]
self_named_module_files = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"