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
#![no_std]
extern crate alloc;
use alloc::{string::String, vec::Vec};
pub mod parser;
#[cfg(test)]
mod tests;
#[cfg(feature = "html")]
pub mod html;
#[cfg(feature = "svg")]
pub mod svg;
#[doc(inline)]
pub use parser::Parser;
#[cfg(feature = "svg")]
#[doc(inline)]
pub use svg::{render_as_svg, Config as SvgConfig, ViewportDimensions as SvgViewportDimensions};
#[cfg(feature = "html")]
#[doc(inline)]
pub use html::render_as_html;