3 unstable releases

0.4.0 Nov 1, 2020
0.3.1 Jan 3, 2020
0.3.0 Dec 26, 2019

#2996 in Parser implementations

Download history 48/week @ 2024-04-15 42/week @ 2024-04-22 38/week @ 2024-04-29 35/week @ 2024-05-06 42/week @ 2024-05-13 35/week @ 2024-05-20 46/week @ 2024-05-27 50/week @ 2024-06-03 27/week @ 2024-06-10 98/week @ 2024-06-17 50/week @ 2024-06-24 35/week @ 2024-07-01 56/week @ 2024-07-08 72/week @ 2024-07-15 30/week @ 2024-07-22 147/week @ 2024-07-29

307 downloads per month
Used in 7 crates (5 directly)

MIT/Apache

56KB
1.5K SLoC

rst_renderer

Part of the rst crate family. This crate contains the HTML renderer (which supports most of what the parser supports), as well as the broken XML and JSON renderers. Suggestions and PRs welcome on how to get them right!

let document = Document::with_children(vec![...]); // or rst_parser::parse()
let stream = std::io::stdout();
let standalone = true;  // wrap in <!doctype html><html></html>
render_html(document, stream, standalone);

Dependencies

~4.5–6.5MB
~146K SLoC