diff --git a/src/lib.rs b/src/lib.rs index 10dae1a..3dfdad9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,8 @@ mod parser; mod header; mod utils; -// expose the lexer and the parser +// Public API of the crate +pub use crate::header::{CharacterSet, RtfHeader}; pub use crate::lexer::Lexer; -pub use crate::parser::{Parser, Painter}; +pub use crate::parser::{Painter, Parser, RtfDocument, StyleBlock}; pub use crate::tokens::Token;