1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
//! # Overview
//!
//! **domrs** is a powerful library designed to streamline the creation
//! and serialization of HTML, CSS and SVG documents.
//!
//! **domrs** 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
//!
//! ## Create HTML document
//!
//! ```
//! use domrs::HtmlDocument;
//!
//! let html = HtmlDocument::new();
//! assert_eq!("<html/>\n", html.to_string());
//! ```
//!
//! ## Create CSS stylesheet
//!
//! ```
//! use domrs::CssDocument;
//!
//! let css = CssDocument::new();
//! assert_eq!("", css.to_string());
//! ```
//!
//! ## Create SVG graphics
//!
//! ```
//! use domrs::SvgDocument;
//!
//! let svg = SvgDocument::new();
//! assert_eq!("<svg/>", svg.to_string());
//! ```
// #![deny(missing_docs)]
// #![deny(rustdoc::broken_intra_doc_links)]
pub use ToText;
pub use ;
pub use ;
pub use ;