protocol-droid-macros 0.5.0

Procedural macros for the protocol-droid Model Context Protocol toolkit.
Documentation
# 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.98"
name = "protocol-droid-macros"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for the protocol-droid Model Context Protocol toolkit."
documentation = "https://docs.rs/protocol-droid-macros"
readme = "README.md"
keywords = [
    "mcp",
    "jsonrpc",
    "model-context",
    "protocol",
]
categories = [
    "development-tools::procedural-macro-helpers",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/greysquirr3l/protocol-droid"

[lib]
name = "protocol_droid_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.6"
features = [
    "full",
    "extra-traits",
]

[lints.clippy]
cast_ptr_alignment = "deny"
expect_used = "deny"
indexing_slicing = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
struct_excessive_bools = "allow"
unwrap_used = "deny"

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

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

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

[lints.clippy.perf]
level = "warn"
priority = -1

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

[lints.rust]
ambiguous_glob_imported_traits = "deny"
dead_code_pub_in_binary = "warn"
missing_debug_implementations = "warn"
missing_docs = "deny"
uninhabited_static = "deny"
unreachable_pub = "warn"
warnings = "deny"

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