aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2015-06-25 20:40:38 -0700
committerSimon Sapin <simon.sapin@exyr.org>2015-06-25 20:40:38 -0700
commit34bfa1651793c3287e7c63f96d0095494af6eb29 (patch)
tree695fa05027c3883443760022d611bd377821ba19 /components/script/lib.rs
parentea06bebca9fab485485ce60bd3f464bc64bf1c36 (diff)
downloadservo-34bfa1651793c3287e7c63f96d0095494af6eb29.tar.gz
servo-34bfa1651793c3287e7c63f96d0095494af6eb29.zip
Update to zero-copy* HTML parsing
html5ever now uses the Tendril string type to minimize copying internally, but Servo still converts from/to `String` at the boundary (which involves copying).
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index def826fb377..28bbed62101 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -67,6 +67,7 @@ extern crate url;
extern crate uuid;
extern crate string_cache;
extern crate offscreen_gl_context;
+extern crate tendril;
pub mod cors;
pub mod document_loader;