bracket 0.5.6

Fast and correct handlebars-compatible template engine
Documentation
1
2
3
4
5
6
7
8
9
use bracket::lexer::lex;

/// Demonstrates low-level access to the token stream.
fn main() {
    let content = include_str!("files/document.md");
    for token in lex(content) {
        println!("{:#?}", token);
    }
}