[dependencies]
[dev-dependencies.trybuild]
version = "1.0"
[features]
foo = []
test_feature = []
[lib]
name = "pub_if"
path = "src/lib.rs"
proc-macro = true
[package]
authors = ["Volodymyr Motylenko <me@vldm.cc>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A Rust procedural macro that conditionally makes struct fields public based on cfg attributes."
edition = "2024"
license = "Apache-2.0 OR MIT"
name = "pub_if"
readme = "README.md"
version = "0.1.0"
[[test]]
name = "compile_tests"
path = "tests/compile_tests.rs"