ascii-literal
A proc-macro to make compile-time checked AsciiStrs.
Examples
This compiles just fine, and works as you would expect.
use ascii_literal;
const MESSAGE: & AsciiStr = ascii_literal!;
println!; // Prints "Hello in ASCII!"
This, however, will give a compile time error.
use ascii_literal;
// This doesn't compile!
const NOT_ASCII: & AsciiStr = ascii_literal!;