diff --git a/Cargo.toml b/Cargo.toml index 88ad95ac..e213cb4a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ name = "html5ever" doctest = false [features] -unstable = ["tendril/unstable", "string_cache/unstable", "rc/unstable"] +unstable = ["tendril/unstable", "string_cache/unstable"] heap_size = ["heapsize", "heapsize_plugin"] codegen = ["html5ever_macros"] @@ -27,7 +27,6 @@ phf = "0.7" string_cache = "0.2.0" mac = "0" tendril = "0.1.6" -rc = "0.1.1" heapsize = { version = "0.1.1", optional = true } heapsize_plugin = { version = "0.1.0", optional = true } diff --git a/src/lib.rs b/src/lib.rs index 20e05076..1a946cf6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,8 +18,6 @@ #[cfg(feature = "heap_size")] extern crate heapsize; -extern crate rc; - #[macro_use] extern crate log; diff --git a/src/rcdom.rs b/src/rcdom.rs index b3ca08f8..d173ef05 100644 --- a/src/rcdom.rs +++ b/src/rcdom.rs @@ -20,8 +20,8 @@ use std::borrow::Cow; use std::io::{self, Write}; use std::mem; use std::ops::{Deref, DerefMut}; +use std::rc::{Rc, Weak}; -use rc::{Rc, Weak}; use string_cache::QualName; use tendril::StrTendril;