compose-idents 0.3.0

A Rust macro for generating new identifiers (names of variables, functions, traits, etc) by concatenating one or more arbitrary parts and applying other manipulations.
Documentation
1
2
3
4
5
6
7
8
9
10
//! A small logging utility. Only for development use.

/// Emits a debug message if the `_debug` feature is enabled.
macro_rules! debug {
    ($($args:tt)+) => {
        #[cfg(feature="_debug")]
        eprintln!("[compose-idents] | {} | DEBUG: {}", module_path!(), format!($($args)+))
    };
}
pub(crate) use debug;