aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-19 13:17:30 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 13:41:55 +0200
commitb125bec9914bd211d77719bd60bc5a23bd9db579 (patch)
treed2ece716fa61c44df3361aa13cad9ae2685162b0 /src/lib.rs
parent7d59ed3a401284299c8139e1c08d8cd6fe29fd15 (diff)
break!: remove DefaultEmitter from public API
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index dc012cd..c14613b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -14,13 +14,16 @@ pub mod reader;
mod tokenizer;
mod utils;
-pub use emitter::{Comment, DefaultEmitter, Doctype, Emitter, EndTag, StartTag, Token};
+pub use emitter::{Comment, Doctype, Emitter, EndTag, StartTag, Token};
pub use error::Error;
pub use tokenizer::{State, Tokenizer};
#[cfg(feature = "integration-tests")]
pub use utils::State as InternalState;
+#[cfg(feature = "integration-tests")]
+pub use emitter::DefaultEmitter;
+
/// Relative links in the README.md don't work in rustdoc, so we have to override them.
macro_rules! file_url {
($path:literal) => {