11 releases

0.0.16 Jan 10, 2024
0.0.15 Dec 13, 2023
0.0.12 Nov 29, 2023
0.0.6 Oct 30, 2023
0.0.4 Feb 20, 2023

#535 in Text processing

Download history 284/week @ 2023-11-01 111/week @ 2023-11-08 143/week @ 2023-11-15 94/week @ 2023-11-22 128/week @ 2023-11-29 33/week @ 2023-12-06 103/week @ 2023-12-13 39/week @ 2023-12-20 192/week @ 2023-12-27 30/week @ 2024-01-03 61/week @ 2024-01-10 29/week @ 2024-01-17 44/week @ 2024-01-24 66/week @ 2024-01-31 23/week @ 2024-02-07 217/week @ 2024-02-14

355 downloads per month
Used in 5 crates (3 directly)


2.5K SLoC

Document builder and serializer

domrs on crates.io docs license-apache license-mit Contributor Covenant


Welcome to domrs, a powerful Rust library designed to streamline the creation and serialization of HTML, CSS and SVG documents. This crate empowers developers with a concise and intuitive interface to effortlessly construct structured and visually appealing documents.

Key features:

  • HTML, CSS and SVG support

    Seamlessly build HTML web pages, stylized CSS documents and dynamic SVG graphics using Rust's strong typing and safety.

  • Builder pattern

    Enjoy the convenience of a builder pattern for creating complex document structures, ensuring code readability and maintainability.

  • Serialization

    Effortlessly serialize created documents into standard-compliant HTML, CSS or SVG files, facilitating easy integration into web applications, storage or reporting tools.

With its ergonomic design and robust functionality, domrs offers a hassle-free solution for developers seeking a reliable tool to craft web-based documents within Rust projects. Whether you're building a web app, generating dynamic graphics, or managing stylesheets, domrs provides the tools you need.

Get started with domrs today and unlock the potential for efficient document creation and serialization in Rust!

Getting started



Licensed under either of

at your option.


All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps