aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-04-08 09:41:07 +0200
committerMartin Fischer <martin@push-f.com>2021-04-08 15:40:48 +0200
commit071a1bf860900482079c0f602430ebdc425e5fee (patch)
tree22f636f9abff6d27ed9509ca717c0440c53c06b0 /src
parent462bb0ef0ba9e027f5138c87438328db718d15da (diff)
depend on tendril directly (instead of markup5ever::tendril)
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
-rw-r--r--src/tokenizer/char_ref/mod.rs2
-rw-r--r--src/tokenizer/interface.rs2
-rw-r--r--src/tokenizer/mod.rs4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 488a311..1d6e2d1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -13,7 +13,7 @@
#![allow(unused_parens)]
pub use markup5ever;
-pub use markup5ever::tendril;
+pub use tendril;
#[macro_use]
mod macros;
diff --git a/src/tokenizer/char_ref/mod.rs b/src/tokenizer/char_ref/mod.rs
index 8f56efb..e0369c7 100644
--- a/src/tokenizer/char_ref/mod.rs
+++ b/src/tokenizer/char_ref/mod.rs
@@ -9,7 +9,7 @@
use super::{TokenSink, Tokenizer};
use markup5ever::buffer_queue::BufferQueue;
-use markup5ever::tendril::StrTendril;
+use tendril::StrTendril;
use crate::util::str::is_ascii_alnum;
use log::debug;
diff --git a/src/tokenizer/interface.rs b/src/tokenizer/interface.rs
index 99e3b58..35ba9c5 100644
--- a/src/tokenizer/interface.rs
+++ b/src/tokenizer/interface.rs
@@ -8,7 +8,7 @@
// except according to those terms.
use markup5ever::interface::Attribute;
-use markup5ever::tendril::StrTendril;
+use tendril::StrTendril;
use crate::tokenizer::states;
use markup5ever::LocalName;
use std::borrow::Cow;
diff --git a/src/tokenizer/mod.rs b/src/tokenizer/mod.rs
index 6f97e7f..33c0a88 100644
--- a/src/tokenizer/mod.rs
+++ b/src/tokenizer/mod.rs
@@ -32,7 +32,7 @@ use std::default::Default;
use std::mem::replace;
pub use markup5ever::buffer_queue::{BufferQueue, FromSet, NotFromSet, SetResult};
-use markup5ever::tendril::StrTendril;
+use tendril::StrTendril;
use markup5ever::{Attribute, LocalName, QualName, SmallCharSet};
mod char_ref;
@@ -1527,7 +1527,7 @@ impl<Sink: TokenSink> Tokenizer<Sink> {
#[allow(non_snake_case)]
mod test {
use super::option_push; // private items
- use markup5ever::tendril::{SliceExt, StrTendril};
+ use tendril::{SliceExt, StrTendril};
use super::{TokenSink, TokenSinkResult, Tokenizer, TokenizerOpts};