4 releases

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

#1921 in Parser implementations

Download history 94/week @ 2024-08-22 75/week @ 2024-08-29 73/week @ 2024-09-05 62/week @ 2024-09-12 528/week @ 2024-09-19 822/week @ 2024-09-26 543/week @ 2024-10-03 257/week @ 2024-10-10 547/week @ 2024-10-17 349/week @ 2024-10-24 464/week @ 2024-10-31 444/week @ 2024-11-07 633/week @ 2024-11-14 425/week @ 2024-11-21 419/week @ 2024-11-28 502/week @ 2024-12-05

2,004 downloads per month
Used in 9 crates (6 directly)

MIT/Apache

63KB
2K 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

~5–7.5MB
~133K SLoC