reduce node.unique_id size

fix sizeof unittest
update Cargo.lock
This commit is contained in:
Aleksandr Likhanov 2015-11-18 22:27:08 +05:00
parent 2be0cb7827
commit 4bf21ab15e
9 changed files with 35 additions and 27 deletions

View file

@ -56,3 +56,4 @@ string_cache = "0.1"
lazy_static = "0.1"
getopts = "0.2.11"
hyper = "0.6"
uuid = "0.1.17"

View file

@ -49,6 +49,7 @@ extern crate serde;
extern crate smallvec;
extern crate string_cache;
extern crate url;
extern crate uuid;
use std::sync::Arc;

View file

@ -39,6 +39,7 @@ use str::{DOMString, LengthOrPercentageOrAuto};
use string_cache::atom::Atom;
use string_cache::namespace::{QualName, Namespace};
use url;
use uuid::Uuid;
extern {
// Get the size of a heap block.
@ -425,3 +426,4 @@ known_heap_size!(0, JSVal, PagePx, ViewportPx, DevicePixel, QuirksMode, OsRng, R
known_heap_size!(0, TokenSerializationType, LengthOrPercentageOrAuto);
known_heap_size!(0, ElementState, Combinator, PseudoElement, str);
known_heap_size!(0, Uuid);