# 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.85"
name = "dampen-macros"
version = "0.2.4"
authors = ["Mattdef <mattdef@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc macros for Dampen UI framework"
documentation = "https://docs.rs/dampen-cli"
readme = "README.md"
keywords = [
    "ui",
    "iced",
    "declarative",
    "gui",
    "framework",
]
categories = [
    "gui",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mattdef/dampen"
resolver = "2"

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

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

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

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

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

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

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

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

[dependencies.globset]
version = "0.4.18"

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

[dependencies.quote]
version = "1.0"

[dependencies.roxmltree]
version = "0.19"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "extra-traits",
]

[dependencies.walkdir]
version = "2.5"

[dev-dependencies.insta]
version = "1.0"

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

[build-dependencies.walkdir]
version = "2.5"

[lints.clippy]
dbg_macro = "warn"
expect_used = "deny"
panic = "deny"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unwrap_used = "deny"

[lints.rust]
dead_code = "warn"
unused = "warn"
unused_imports = "warn"
unused_mut = "warn"
unused_variables = "warn"
