5 releases

Uses new Rust 2024

new 0.4.2 Apr 13, 2025
0.4.1 Nov 20, 2024
0.4.0 Nov 1, 2020
0.3.1 Jan 3, 2020
0.3.0 Dec 26, 2019

#477 in Text processing

Download history 403/week @ 2024-12-22 390/week @ 2024-12-29 441/week @ 2025-01-05 258/week @ 2025-01-12 271/week @ 2025-01-19 185/week @ 2025-01-26 1320/week @ 2025-02-02 3613/week @ 2025-02-09 1850/week @ 2025-02-16 975/week @ 2025-02-23 4128/week @ 2025-03-02 3952/week @ 2025-03-09 2381/week @ 2025-03-16 1692/week @ 2025-03-23 1617/week @ 2025-03-30 851/week @ 2025-04-06

7,220 downloads per month
Used in 9 crates (6 directly)

MIT/Apache

75KB
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
~130K SLoC