[package]
edition = "2021"
rust-version = "1.85"
name = "vyre-macros"
version = "0.4.1"
authors = ["Santh Project <contact@santh.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for vyre compiler passes — #[vyre_pass], #[vyre_ast_registry]"
homepage = "https://github.com/santhsecurity/vyre"
documentation = "https://docs.rs/vyre-macros"
readme = "README.md"
keywords = [
"gpu",
"macro",
"compiler",
"ir",
"vyre",
]
categories = [
"development-tools::procedural-macro-helpers",
"compilers",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/santhsecurity/vyre"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "vyre_macros"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "=1.0.106"
features = ["span-locations"]
[dependencies.quote]
version = "=1.0.45"
[dependencies.syn]
version = "=2.0.117"
features = [
"full",
"visit",
"visit-mut",
]
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
erasing_op = "allow"
identity_op = "allow"
[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rustdoc]
broken_intra_doc_links = "deny"
private_intra_doc_links = "warn"