aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 97358d0..2918c80 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,13 +15,20 @@ mod naive_parser;
mod tokenizer;
mod utils;
-pub mod attr;
+/// Types for HTML attributes.
+pub mod attr {
+ pub use crate::token::{
+ AttrIntoIter, AttrIter, AttrValueSyntax, Attribute, AttributeMap, AttributeOwned,
+ };
+}
pub mod offset;
pub mod reader;
+pub mod token;
-pub use emitter::{Comment, DefaultEmitter, Doctype, Emitter, EndTag, StartTag, Token};
+pub use emitter::{DefaultEmitter, Emitter};
pub use error::Error;
pub use naive_parser::NaiveParser;
+pub use token::{Comment, Doctype, EndTag, StartTag, Token};
pub use tokenizer::{CdataAction, Event, State, Tokenizer};
#[cfg(feature = "integration-tests")]