[package]
edition = "2021"
name = "photon-macros"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc macros for Photon pub/sub (#[photon::topic], #[photon::subscribe])"
homepage = "https://github.com/unified-field-dev/photon"
documentation = "https://docs.rs/photon-macros"
readme = "README.md"
keywords = [
"pubsub",
"events",
"async",
"messaging",
"streaming",
]
categories = [
"asynchronous",
"network-programming",
]
license = "MIT"
repository = "https://github.com/unified-field-dev/photon"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "photon_macros"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
features = [
"full",
"extra-traits",
]
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
items_after_statements = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
used_underscore_binding = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"