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:
= "0.1"
use paste;
paste!
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,
);
}