[package]
edition = "2024"
name = "vespera_macro"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for Vespera - automatic route discovery and OpenAPI generation"
readme = false
license = "Apache-2.0"
repository = "https://github.com/dev-five-git/vespera"
resolver = "2"
[features]
cron = ["dep:croner"]
validation = ["dep:regex-syntax"]
[lib]
name = "vespera_macro"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "trybuild_diagnostics"
path = "tests/trybuild_diagnostics.rs"
[dependencies.croner]
version = "3"
optional = true
[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
[dependencies.quote]
version = "1"
[dependencies.regex-syntax]
version = "0.8"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.syn]
version = "3"
features = ["full"]
[dependencies.vespera_core]
version = "0.4.0"
[dev-dependencies.insta]
version = "1.48"
[dev-dependencies.prettyplease]
version = "0.3"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.serial_test]
version = "4"
[dev-dependencies.syn]
version = "3"
features = [
"full",
"extra-traits",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.trybuild]
version = "1"
[lints.clippy]
collection_is_never_read = "warn"
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "warn"
redundant_pub_crate = "warn"
use_self = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]