Skip to content

Commit

Permalink
Merge pull request #2 from CBenoit/expose-rtfdocument
Browse files Browse the repository at this point in the history
Expose RtfDocument, RtfHeader, CharacterSet and StyleBlock
  • Loading branch information
d0rianb authored Dec 10, 2023
2 parents f9537d6 + ddfb27d commit 3a31876
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 3a31876

Please sign in to comment.