litext 0.2.0

Just what you need for extracting string literal contents at compile time
Documentation
1
2
3
fn main() {
    litext!(b"hello");
}