reget 0.2.1

A simple recipe parser for html and json-ld with optional markdown support
Documentation
1
2
3
4
5
6
7
use reget::parse_recipe;
use std::fs;

fn main() {
    let html = fs::read_to_string("examples/recipe.html").unwrap();
    println!("{:#?}", parse_recipe(&html).unwrap());
}