diff options
author | Martin Fischer <martin@push-f.com> | 2021-04-08 15:27:23 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-04-08 15:57:18 +0200 |
commit | 18a022579737acc599277258fc4a8472ba73a8b0 (patch) | |
tree | 908aa0f40c2be0d8a1ed305d021a256383221f8b /examples | |
parent | 7c1b82bf4bac750b7d7311ee29625e40e4441aef (diff) |
rebrand as html5tokenizer
Diffstat (limited to 'examples')
-rw-r--r-- | examples/noop-tokenize.rs | 4 | ||||
-rw-r--r-- | examples/tokenize.rs | 8 |
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; |