diff options
-rw-r--r-- | Cargo.lock | 47 | ||||
-rw-r--r-- | components/canvas/Cargo.toml | 2 | ||||
-rw-r--r-- | components/canvas_traits/Cargo.toml | 2 | ||||
-rw-r--r-- | components/layout/Cargo.toml | 2 | ||||
-rw-r--r-- | components/msg/Cargo.toml | 2 | ||||
-rw-r--r-- | components/script/Cargo.toml | 3 | ||||
-rw-r--r-- | components/script/lib.rs | 7 | ||||
-rw-r--r-- | components/script_layout_interface/Cargo.toml | 2 | ||||
-rw-r--r-- | components/selectors/Cargo.toml | 3 | ||||
-rw-r--r-- | components/selectors/lib.rs | 1 | ||||
-rw-r--r-- | components/style/Cargo.toml | 3 | ||||
-rw-r--r-- | components/style/lib.rs | 4 | ||||
-rw-r--r-- | components/style_traits/Cargo.toml | 3 | ||||
-rw-r--r-- | components/style_traits/lib.rs | 4 | ||||
-rw-r--r-- | ports/geckolib/Cargo.toml | 2 | ||||
-rw-r--r-- | tests/unit/style/Cargo.toml | 2 | ||||
-rw-r--r-- | tests/unit/stylo/Cargo.toml | 2 |
17 files changed, 56 insertions, 35 deletions
diff --git a/Cargo.lock b/Cargo.lock index a16e0e9cbd6..79ff61eca36 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -275,7 +275,7 @@ version = "0.0.1" dependencies = [ "azure 0.14.0 (git+https://github.com/servo/rust-azure)", "canvas_traits 0.0.1", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "gleam 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -290,7 +290,7 @@ dependencies = [ name = "canvas_traits" version = "0.0.1" dependencies = [ - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -516,14 +516,26 @@ dependencies = [ [[package]] name = "cssparser" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ + "cssparser-macros 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "phf 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.10.8 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.11.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cssparser-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "phf_codegen 0.7.21 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.11.6 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -905,7 +917,7 @@ version = "0.0.1" dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "atomic_refcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1316,7 +1328,7 @@ dependencies = [ "atomic_refcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "gfx 0.0.1", @@ -1629,7 +1641,7 @@ name = "msg" version = "0.0.1" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2208,7 +2220,8 @@ dependencies = [ "caseless 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "cmake 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", "cookie 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser-macros 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "deny_public_fields 0.0.1", "devtools_traits 0.0.1", "dom_struct 0.0.1", @@ -2278,7 +2291,7 @@ dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "atomic_refcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "gfx_traits 0.0.1", "heapsize 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2347,7 +2360,8 @@ name = "selectors" version = "0.18.0" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser-macros 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2716,7 +2730,8 @@ dependencies = [ "bindgen 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser-macros 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "encoding 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2756,7 +2771,7 @@ name = "style_tests" version = "0.0.1" dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "html5ever-atoms 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2777,7 +2792,8 @@ name = "style_traits" version = "0.0.1" dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser-macros 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2791,7 +2807,7 @@ version = "0.0.1" dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "atomic_refcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "geckoservo 0.0.1", @@ -3377,7 +3393,8 @@ dependencies = [ "checksum core-foundation-sys 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "41115a6aa5d3e1e5ef98148373f25971d1fad53818553f216495f9e67e90a624" "checksum core-graphics 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ead017dcf77f503dc991f6b52de6084eeea60a94b0a652baa9bf88654a28e83f" "checksum core-text 4.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0e9719616a10f717628e074744f8c55df7b450f7a34d29c196d14f4498aad05d" -"checksum cssparser 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "693cc9c8d3d0779ff60ff6b8b73497bda2c7151b6489c3a9c1f95f5d4f4497e5" +"checksum cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d8352ccd22c5ebab558d179e32f6d3dd26eed30252f8420d636bfae5052eb50e" +"checksum cssparser-macros 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a85e1452f40a50777c8424fa7fcaa7dd7074c7bc5419014fbffe7ea3d750dee8" "checksum dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "97590ba53bcb8ac28279161ca943a924d1fd4a8fb3fa63302591647c4fc5b850" "checksum dbus 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "94d266a872aaf68b50d02083c429a3686935ab6ab54824290509cdc422673eaf" "checksum debug_unreachable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9a032eac705ca39214d169f83e3d3da290af06d8d1d344d1baad2fd002dca4b3" diff --git a/components/canvas/Cargo.toml b/components/canvas/Cargo.toml index f4e9ac1bf04..9c374c1c68f 100644 --- a/components/canvas/Cargo.toml +++ b/components/canvas/Cargo.toml @@ -12,7 +12,7 @@ path = "lib.rs" [dependencies] azure = {git = "https://github.com/servo/rust-azure"} canvas_traits = {path = "../canvas_traits"} -cssparser = {version = "0.10", features = ["heapsize", "serde"]} +cssparser = {version = "0.11", features = ["heapsize", "serde"]} euclid = "0.11" gleam = "0.2.8" ipc-channel = "0.7" diff --git a/components/canvas_traits/Cargo.toml b/components/canvas_traits/Cargo.toml index 3827ea51f86..6c539762587 100644 --- a/components/canvas_traits/Cargo.toml +++ b/components/canvas_traits/Cargo.toml @@ -10,7 +10,7 @@ name = "canvas_traits" path = "lib.rs" [dependencies] -cssparser = {version = "0.10", features = ["heapsize", "serde"]} +cssparser = {version = "0.11", features = ["heapsize", "serde"]} euclid = "0.11" heapsize = "0.3.0" heapsize_derive = "0.1" diff --git a/components/layout/Cargo.toml b/components/layout/Cargo.toml index 5fc1218b055..6139aff4c58 100644 --- a/components/layout/Cargo.toml +++ b/components/layout/Cargo.toml @@ -14,7 +14,7 @@ app_units = "0.4" atomic_refcell = "0.1" bitflags = "0.7" canvas_traits = {path = "../canvas_traits"} -cssparser = {version = "0.10", features = ["heapsize", "serde"]} +cssparser = {version = "0.11", features = ["heapsize", "serde"]} euclid = "0.11" fnv = "1.0" gfx = {path = "../gfx"} diff --git a/components/msg/Cargo.toml b/components/msg/Cargo.toml index 18e41acde06..55ea4d911ad 100644 --- a/components/msg/Cargo.toml +++ b/components/msg/Cargo.toml @@ -11,7 +11,7 @@ path = "lib.rs" [dependencies] bitflags = "0.7" -cssparser = {version = "0.10", features = ["heapsize", "serde"]} +cssparser = {version = "0.11", features = ["heapsize", "serde"]} heapsize = "0.3.0" heapsize_derive = "0.1" serde = "0.9" diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 9c5044a91e3..bc2e981f88e 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -34,7 +34,8 @@ byteorder = "1.0" canvas_traits = {path = "../canvas_traits"} caseless = "0.1.0" cookie = "0.2.5" -cssparser = {version = "0.10", features = ["heapsize", "serde"]} +cssparser = {version = "0.11", features = ["heapsize", "serde"]} +cssparser-macros = "0.1.0" deny_public_fields = {path = "../deny_public_fields"} devtools_traits = {path = "../devtools_traits"} dom_struct = {path = "../dom_struct"} diff --git a/components/script/lib.rs b/components/script/lib.rs index bc754bd870a..93bcdd14b35 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -36,10 +36,9 @@ extern crate canvas_traits; extern crate caseless; extern crate cookie as cookie_rs; extern crate core; -#[macro_use] -extern crate cssparser; -#[macro_use] -extern crate deny_public_fields; +#[macro_use] extern crate cssparser; +#[macro_use] extern crate cssparser_macros; +#[macro_use] extern crate deny_public_fields; extern crate devtools_traits; extern crate dom_struct; #[macro_use] diff --git a/components/script_layout_interface/Cargo.toml b/components/script_layout_interface/Cargo.toml index a938251f533..5f7b61d5938 100644 --- a/components/script_layout_interface/Cargo.toml +++ b/components/script_layout_interface/Cargo.toml @@ -13,7 +13,7 @@ path = "lib.rs" app_units = "0.4" atomic_refcell = "0.1" canvas_traits = {path = "../canvas_traits"} -cssparser = {version = "0.10", features = ["heapsize", "serde"]} +cssparser = {version = "0.11", features = ["heapsize", "serde"]} euclid = "0.11" gfx_traits = {path = "../gfx_traits"} heapsize = "0.3.0" diff --git a/components/selectors/Cargo.toml b/components/selectors/Cargo.toml index 714cb213138..f51cdaa91a7 100644 --- a/components/selectors/Cargo.toml +++ b/components/selectors/Cargo.toml @@ -18,5 +18,6 @@ path = "lib.rs" [dependencies] bitflags = "0.7" matches = "0.1" -cssparser = "0.10" +cssparser = "0.11" +cssparser-macros = "0.1.0" fnv = "1.0" diff --git a/components/selectors/lib.rs b/components/selectors/lib.rs index 247902074b9..4d853744bc5 100644 --- a/components/selectors/lib.rs +++ b/components/selectors/lib.rs @@ -4,6 +4,7 @@ #[macro_use] extern crate bitflags; #[macro_use] extern crate cssparser; +#[macro_use] extern crate cssparser_macros; #[macro_use] extern crate matches; extern crate fnv; diff --git a/components/style/Cargo.toml b/components/style/Cargo.toml index f41cf9b6b38..34f0c1e2da9 100644 --- a/components/style/Cargo.toml +++ b/components/style/Cargo.toml @@ -26,7 +26,8 @@ app_units = "0.4" atomic_refcell = "0.1" bitflags = "0.7" cfg-if = "0.1.0" -cssparser = "0.10" +cssparser = "0.11" +cssparser-macros = "0.1.0" encoding = "0.2" euclid = "0.11" fnv = "1.0" diff --git a/components/style/lib.rs b/components/style/lib.rs index 5ab170ecf71..968f720093d 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -42,8 +42,8 @@ extern crate atomic_refcell; #[macro_use] extern crate bitflags; #[cfg(feature = "gecko")] #[macro_use] #[no_link] extern crate cfg_if; -#[macro_use] -extern crate cssparser; +#[macro_use] extern crate cssparser; +#[macro_use] extern crate cssparser_macros; extern crate encoding; extern crate euclid; extern crate fnv; diff --git a/components/style_traits/Cargo.toml b/components/style_traits/Cargo.toml index 9d55a30f000..e333e464505 100644 --- a/components/style_traits/Cargo.toml +++ b/components/style_traits/Cargo.toml @@ -15,7 +15,8 @@ servo = ["heapsize", "heapsize_derive", "serde", "serde_derive", [dependencies] app_units = "0.4" -cssparser = "0.10" +cssparser = "0.11" +cssparser-macros = "0.1.0" euclid = "0.11" heapsize = {version = "0.3.0", optional = true} heapsize_derive = {version = "0.1", optional = true} diff --git a/components/style_traits/lib.rs b/components/style_traits/lib.rs index c02f14c68fd..88537b504c4 100644 --- a/components/style_traits/lib.rs +++ b/components/style_traits/lib.rs @@ -14,8 +14,8 @@ #![cfg_attr(feature = "servo", feature(plugin))] extern crate app_units; -#[macro_use] -extern crate cssparser; +#[macro_use] extern crate cssparser; +#[macro_use] extern crate cssparser_macros; extern crate euclid; #[cfg(feature = "servo")] extern crate heapsize; #[cfg(feature = "servo")] #[macro_use] extern crate heapsize_derive; diff --git a/ports/geckolib/Cargo.toml b/ports/geckolib/Cargo.toml index 072d500e8a9..dd8c8b55d41 100644 --- a/ports/geckolib/Cargo.toml +++ b/ports/geckolib/Cargo.toml @@ -15,7 +15,7 @@ bindgen = ["style/use_bindgen"] [dependencies] app_units = "0.4" atomic_refcell = "0.1" -cssparser = "0.10" +cssparser = "0.11" env_logger = {version = "0.4", default-features = false} # disable `regex` to reduce code size euclid = "0.11" lazy_static = "0.2" diff --git a/tests/unit/style/Cargo.toml b/tests/unit/style/Cargo.toml index 6d300846b7c..eeb7ff58442 100644 --- a/tests/unit/style/Cargo.toml +++ b/tests/unit/style/Cargo.toml @@ -14,7 +14,7 @@ testing = ["style/testing"] [dependencies] app_units = "0.4" -cssparser = {version = "0.10", features = ["heapsize"]} +cssparser = {version = "0.11", features = ["heapsize"]} euclid = "0.11" html5ever-atoms = "0.2" matches = "0.1" diff --git a/tests/unit/stylo/Cargo.toml b/tests/unit/stylo/Cargo.toml index f41a90ca567..2127bf479cf 100644 --- a/tests/unit/stylo/Cargo.toml +++ b/tests/unit/stylo/Cargo.toml @@ -14,7 +14,7 @@ doctest = false [dependencies] app_units = "0.4" atomic_refcell = "0.1" -cssparser = "0.10" +cssparser = "0.11" env_logger = "0.4" euclid = "0.11" lazy_static = "0.2" |