[package] name = "cfg-or-panic" version = "0.2.1" edition = "2021" authors = ["Bugen Zhao "] description = "Replace function bodies with `unimplemented!()` when condition is not met." repository = "https://github.com/BugenZhao/cfg-or-panic" keywords = ["proc-macro", "macro", "cfg"] categories = ["rust-patterns", "development-tools::build-utils"] license = "Apache-2.0" [lib] proc-macro = true [dependencies] proc-macro2 = "1" quote = "1" syn = { version = "2", features = ["full"] }