aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/noop-tokenize.rs4
-rw-r--r--examples/tokenize.rs8
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/noop-tokenize.rs b/examples/noop-tokenize.rs
index 323c429..9557965 100644
--- a/examples/noop-tokenize.rs
+++ b/examples/noop-tokenize.rs
@@ -9,12 +9,12 @@
// Run a single benchmark once. For use with profiling tools.
-extern crate html5ever;
+extern crate html5tokenizer;
use std::default::Default;
use std::io;
-use html5ever::tokenizer::{BufferQueue, Token, TokenSink, TokenSinkResult, Tokenizer};
+use html5tokenizer::tokenizer::{BufferQueue, Token, TokenSink, TokenSinkResult, Tokenizer};
use io::Read;
struct Sink(Vec<Token>);
diff --git a/examples/tokenize.rs b/examples/tokenize.rs
index 943513a..e9b0013 100644
--- a/examples/tokenize.rs
+++ b/examples/tokenize.rs
@@ -7,14 +7,14 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-extern crate html5ever;
+extern crate html5tokenizer;
use std::default::Default;
use std::io;
-use html5ever::tokenizer::BufferQueue;
-use html5ever::tokenizer::{CharacterTokens, EndTag, NullCharacterToken, StartTag, TagToken};
-use html5ever::tokenizer::{
+use html5tokenizer::tokenizer::BufferQueue;
+use html5tokenizer::tokenizer::{CharacterTokens, EndTag, NullCharacterToken, StartTag, TagToken};
+use html5tokenizer::tokenizer::{
ParseError, Token, TokenSink, TokenSinkResult, Tokenizer, TokenizerOpts,
};
use io::Read;