# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "hexeract-macros"
version = "0.4.0"
authors = ["Nubster"]
build = false
exclude = [
    "/tests",
    "/examples",
    "/benches",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for the Hexeract messaging framework"
homepage = "https://github.com/nubster-opensources/hexeract"
readme = "README.md"
keywords = [
    "messaging",
    "mediator",
    "macro",
    "handler",
]
categories = [
    "asynchronous",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nubster-opensources/hexeract"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "hexeract_macros"
path = "src/lib.rs"
proc-macro = true

[dependencies.proc-macro-crate]
version = "3"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = ["full"]

[dev-dependencies.hexeract-core]
version = "0.4"

[dev-dependencies.hexeract-mediator]
version = "0.4"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "macros",
    "rt",
]

[dev-dependencies.trybuild]
version = "1"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1
