[package]
edition = "2024"
rust-version = "1.95"
name = "riverqueue-macros"
version = "0.5.1"
build = false
include = [
"src/**",
"LICENSE",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for River's Rust client"
homepage = "https://riverqueue.com"
readme = "README.md"
keywords = [
"background",
"derive",
"jobs",
"queue",
]
categories = [
"asynchronous",
"database",
"development-tools::procedural-macro-helpers",
]
license = "MPL-2.0"
repository = "https://github.com/riverqueue/river"
[lib]
name = "riverqueue_macros"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1.0.107"
[dependencies.quote]
version = "1.0.47"
[dependencies.syn]
version = "3.0"
features = ["full"]
[dev-dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dev-dependencies.trybuild]
version = "1.0.121"
[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(river_postgres_tests)"]