# About tiaojian-macro **tiaojian-macro** 是使用过程宏进行条件编译的工具包,目前实现了项目中已激活的 package 的检测。 ## Example ```rust #![feature(proc_macro_hygiene)] use tiaojian_macro::tiaojian; fn main() { #[tiaojian(is_active("sqlx", "sqlx-mysql"))] println!("sqlx and sqlx-mysql are actived"); #[tiaojian(is_active("sqlx", "sqlx-sqlite"))] println!("sqlx and sqlx-sqlite are actived"); } ```