mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update to string-cache 0.3
This commit is contained in:
parent
9fcc9d9d3f
commit
53b638c0e2
170 changed files with 1309 additions and 1050 deletions
|
@ -53,8 +53,10 @@ extern crate deque;
|
|||
extern crate encoding;
|
||||
extern crate euclid;
|
||||
extern crate fnv;
|
||||
#[cfg(feature = "gecko")] #[macro_use] pub mod gecko_string_cache;
|
||||
extern crate heapsize;
|
||||
#[cfg(feature = "servo")] #[macro_use] extern crate heapsize_derive;
|
||||
#[cfg(feature = "servo")] #[macro_use] extern crate html5ever_atoms;
|
||||
#[allow(unused_extern_crates)]
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
|
@ -78,8 +80,8 @@ extern crate selectors;
|
|||
#[cfg(feature = "servo")]
|
||||
extern crate serde;
|
||||
#[cfg(feature = "servo")] #[macro_use] extern crate serde_derive;
|
||||
#[cfg(feature = "servo")] #[macro_use] extern crate servo_atoms;
|
||||
extern crate smallvec;
|
||||
#[cfg(feature = "servo")] #[macro_use] extern crate string_cache;
|
||||
#[macro_use]
|
||||
extern crate style_traits;
|
||||
extern crate time;
|
||||
|
@ -88,10 +90,6 @@ extern crate unicode_segmentation;
|
|||
extern crate url;
|
||||
extern crate util;
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
#[path = "./gecko_string_cache/mod.rs"]
|
||||
#[macro_use] pub mod string_cache;
|
||||
|
||||
pub mod animation;
|
||||
pub mod atomic_refcell;
|
||||
pub mod attr;
|
||||
|
@ -137,6 +135,17 @@ use cssparser::ToCss;
|
|||
use std::fmt;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[cfg(feature = "gecko")] pub use gecko_string_cache as string_cache;
|
||||
#[cfg(feature = "gecko")] pub use gecko_string_cache::Atom;
|
||||
#[cfg(feature = "gecko")] pub use gecko_string_cache::Namespace;
|
||||
#[cfg(feature = "gecko")] pub use gecko_string_cache::Atom as Prefix;
|
||||
#[cfg(feature = "gecko")] pub use gecko_string_cache::Atom as LocalName;
|
||||
|
||||
#[cfg(feature = "servo")] pub use servo_atoms::Atom;
|
||||
#[cfg(feature = "servo")] pub use html5ever_atoms::Prefix;
|
||||
#[cfg(feature = "servo")] pub use html5ever_atoms::LocalName;
|
||||
#[cfg(feature = "servo")] pub use html5ever_atoms::Namespace;
|
||||
|
||||
/// The CSS properties supported by the style system.
|
||||
// Generated from the properties.mako.rs template by build.rs
|
||||
#[macro_use]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue