ipug 0.2.0

pug.js port to Rust
Documentation
1
2
3
4
5
6
7
8
use ipug::parse;
use std::io::{self, Read};

fn main() {
    let mut buffer = String::new();
    io::stdin().read_to_string(&mut buffer).unwrap();
    parse(buffer).unwrap().to_html(&mut io::stdout()).unwrap();
}