# 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 = "aoc-core-macros"
version = "0.1.1"
authors = ["Massimo Pavoni"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros used by aoc-core when enabling the binary feature."
homepage = "https://codeberg.org/massimopavoni/aoc-core-rs"
documentation = "https://docs.rs/aoc-core-macros"
readme = "README.md"
keywords = [
    "adventofcode",
    "aoc",
    "library",
    "toolbox",
    "utility",
]
license = "GPL-3.0-or-later"
repository = "https://codeberg.org/massimopavoni/aoc-core-rs"

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

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

[dependencies.quote]
version = "1.0.*"

[dependencies.rustc-hash]
version = "2.1.*"

[dependencies.syn]
version = "2.0.*"
features = [
    "full",
    "parsing",
    "printing",
    "proc-macro",
]
default-features = false

[dev-dependencies.trybuild]
version = "1.0.*"

[lints.clippy]
nursery = "warn"
pedantic = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "forbid"
