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