[package]
edition = "2024"
rust-version = "1.97"
name = "gpui-box-macros"
version = "0.1.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for GPUI Box"
homepage = "https://github.com/fran0220/gpui-box"
readme = false
license = "Apache-2.0"
repository = "https://github.com/fran0220/gpui-box"
[features]
inspector = []
[lib]
name = "gpui_macros"
path = "src/gpui_macros.rs"
doctest = true
proc-macro = true
[[test]]
name = "derive_context"
path = "tests/derive_context.rs"
[[test]]
name = "derive_inspector_reflection"
path = "tests/derive_inspector_reflection.rs"
[[test]]
name = "render_test"
path = "tests/render_test.rs"
[dependencies.heck]
version = "0.5"
[dependencies.proc-macro2]
version = "1.0.93"
[dependencies.quote]
version = "1.0.9"
[dependencies.syn]
version = "2.0.101"
features = [
"full",
"extra-traits",
"visit-mut",
]
[dev-dependencies]
[lints.clippy]
dbg_macro = "deny"
todo = "warn"
unwrap_used = "warn"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(perf_enabled)",
"cfg(rust_analyzer)",
'cfg(feature, values("cargo-clippy", "nightly_coverage"))',
]