mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Run the async HTML Tokenizer on a new thread
This commit is contained in:
parent
3629efba75
commit
8ebd70d402
5 changed files with 469 additions and 223 deletions
|
@ -26,6 +26,8 @@ unstable = []
|
|||
bitflags = "0.7"
|
||||
matches = "0.1"
|
||||
cssparser = "0.18"
|
||||
heapsize = "0.4"
|
||||
heapsize_derive = "0.1"
|
||||
log = "0.3"
|
||||
fnv = "1.0"
|
||||
phf = "0.7.18"
|
||||
|
|
|
@ -48,7 +48,7 @@ pub enum VisitedHandlingMode {
|
|||
/// Which quirks mode is this document in.
|
||||
///
|
||||
/// See: https://quirks.spec.whatwg.org/
|
||||
#[derive(PartialEq, Eq, Copy, Clone, Hash, Debug)]
|
||||
#[derive(PartialEq, Eq, Copy, Clone, Hash, Debug, HeapSizeOf)]
|
||||
pub enum QuirksMode {
|
||||
/// Quirks mode.
|
||||
Quirks,
|
||||
|
|
|
@ -7,9 +7,11 @@
|
|||
|
||||
#[macro_use] extern crate bitflags;
|
||||
#[macro_use] extern crate cssparser;
|
||||
#[macro_use] extern crate heapsize_derive;
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate matches;
|
||||
extern crate fnv;
|
||||
extern crate heapsize;
|
||||
extern crate phf;
|
||||
extern crate precomputed_hash;
|
||||
#[cfg(test)] #[macro_use] extern crate size_of_test;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue