# 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.93"
name = "tele-macros"
version = "0.1.5"
build = false
include = [
    "src/**",
    "tests/**",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc-macros for tele bot ergonomics"
homepage = "https://github.com/lvillis/tele-rs"
documentation = "https://docs.rs/tele-macros"
readme = "README.md"
keywords = [
    "telegram",
    "bot",
    "macros",
    "proc-macro",
    "tele",
]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT"
repository = "https://github.com/lvillis/tele-rs"

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

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

[[test]]
name = "derive"
path = "tests/derive.rs"

[dependencies.proc-macro-crate]
version = "3.5.0"
default-features = false

[dependencies.proc-macro2]
version = "1.0.106"
features = ["proc-macro"]
default-features = false

[dependencies.quote]
version = "1.0.45"
features = ["proc-macro"]
default-features = false

[dependencies.syn]
version = "2.0.117"
features = [
    "full",
    "derive",
    "parsing",
    "printing",
    "clone-impls",
    "proc-macro",
]
default-features = false

[dev-dependencies.trybuild]
version = "1.0.116"
default-features = false

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"
