# 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 = "2021"
rust-version = "1.91"
name = "kailash-plugin-macros"
version = "3.17.0"
authors = ["Kailash Authors"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc-macros for Kailash WASM plugin development"
readme = false
keywords = [
    "plugin",
    "wasm",
    "macro",
    "proc-macro",
    "kailash",
]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/esperie-enterprise/kailash-rs"

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

[lib]
name = "kailash_plugin_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]
doc_markdown = "warn"
expect_used = "warn"
explicit_iter_loop = "warn"
manual_let_else = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
needless_pass_by_value = "warn"
panic = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
wildcard_imports = "warn"

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