Crate minipaste

Crate minipaste 

Source
Expand description

§minipaste

A minimalist alternative to the paste crate, which is no longer maintained and may flag a cargo audit/vet warning. It does not handle case conversion! Usage is similar to the paste crate:

minipaste = "0.1"
use minipaste::paste;
paste! {
    // Defines a const called `QRST`.
    const [<Q R S T>]: &str = "success!";
}

fn main() {
    assert_eq!(
        paste! { [<Q R S T>].len() },
        8,
    );
}

Macros§

paste