Crate of the Week

I'd like to nominate the efg crate which replaces the function-style syntax of the #[cfg()] macro with the syntax of boolean expressions.

(Example from the README.md)

#[efg(feature "proc-macro" && !(target_arch "wasm32" && target_os "unknown"))]
extern crate proc_macro;
7 Likes