# 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"
name = "boltffi_macros"
version = "0.24.0"
authors = ["Ali A. Hilal <me@alihilal.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for BoltFFI - #[data], #[export], #[class] attributes"
readme = false
keywords = [
    "ffi",
    "proc-macro",
    "codegen",
    "bindings",
]
categories = [
    "development-tools::ffi",
    "development-tools::procedural-macro-helpers",
]
license = "MIT"
repository = "https://github.com/boltffi/boltffi"

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

[dependencies.boltffi_ffi_rules]
version = "0.24.0"

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

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "parsing",
    "visit",
    "printing",
]

[lints.clippy]
missing_safety_doc = "allow"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
