[package]
edition = "2024"
rust-version = "1.93.0"
name = "nearest-derive"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for the nearest crate"
homepage = "https://github.com/uael/nearest"
documentation = "https://docs.rs/nearest-derive"
readme = "README.md"
keywords = [
"self-relative",
"pointer",
"derive",
"macro",
]
categories = ["data-structures"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/uael/nearest"
[lib]
name = "nearest_derive"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "2"
features = ["full"]
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
cast_possible_truncation = "allow"
dbg_macro = "deny"
missing_safety_doc = "deny"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
uninhabited_references = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1