Override to use local rust-selectors.
authorBobby Holley <bobbyholley@gmail.com>
Mon, 06 Feb 2017 15:49:16 -0800 (2017-02-06)
changeset 1032247 18dc070e0308827e76f66f8c684094d9373b71a6
parent 1032246 3ab3d12fc9a1423aaf2f2c48ab56ef0e54806e6e
child 1032248 e88a898d407a11bb4ca1b7118688135ca825ee03
push id168500
push userbholley@mozilla.com
push dateTue, 07 Feb 2017 02:41:05 +0000 (2017-02-07)
treeherdertry@ec125921e467 [default view] [failures only]
milestone54.0a1
Override to use local rust-selectors.
servo/Cargo.lock
servo/Cargo.toml
toolkit/library/gtest/rust/Cargo.lock
toolkit/library/gtest/rust/Cargo.toml
toolkit/library/rust/Cargo.lock
toolkit/library/rust/Cargo.toml
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -2395,25 +2395,30 @@ dependencies = [
  "time 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)",
  "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "webvr_traits 0.0.1",
 ]
 
 [[package]]
 name = "selectors"
 version = "0.15.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "cssparser 0.7.3 (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)",
 ]
 
 [[package]]
+name = "selectors"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+replace = "selectors 0.15.2"
+
+[[package]]
 name = "semver"
 version = "0.1.20"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "semver"
 version = "0.2.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
--- a/servo/Cargo.toml
+++ b/servo/Cargo.toml
@@ -9,8 +9,11 @@ members = [
 [profile.dev]
 codegen-units = 4
 
 [profile.release]
 opt-level = 3
 # Uncomment to profile on Linux:
 # debug = true
 # lto = false
+
+[replace]
+"selectors:0.15.2" = { path = "../third_party/rust/selectors" }
--- a/toolkit/library/gtest/rust/Cargo.lock
+++ b/toolkit/library/gtest/rust/Cargo.lock
@@ -550,25 +550,30 @@ dependencies = [
 [[package]]
 name = "rustc-serialize"
 version = "0.3.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "selectors"
 version = "0.15.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "cssparser 0.7.3 (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)",
 ]
 
 [[package]]
+name = "selectors"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+replace = "selectors 0.15.2"
+
+[[package]]
 name = "serde"
 version = "0.8.23"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "serde_json"
 version = "0.8.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
--- a/toolkit/library/gtest/rust/Cargo.toml
+++ b/toolkit/library/gtest/rust/Cargo.toml
@@ -40,8 +40,11 @@ rpath = false
 # This would normally be 'true' for release configurations, but using LTO on
 # rul-gtest causes link failures due to symbols also being found in libxul's
 # librul.a.  But LTO'ing things here is not crucial and not LTO'ing things
 # enables us to link libxul-gtest, so we leave it turned off.
 lto = false
 debug-assertions = false
 codegen-units = 1
 panic = "abort"
+
+[replace]
+"selectors:0.15.2" = { path = "../../../../third_party/rust/selectors" }
--- a/toolkit/library/rust/Cargo.lock
+++ b/toolkit/library/rust/Cargo.lock
@@ -537,25 +537,30 @@ dependencies = [
 [[package]]
 name = "rustc-serialize"
 version = "0.3.22"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "selectors"
 version = "0.15.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "cssparser 0.7.3 (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)",
 ]
 
 [[package]]
+name = "selectors"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+replace = "selectors 0.15.2"
+
+[[package]]
 name = "serde"
 version = "0.8.23"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "serde_json"
 version = "0.8.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
--- a/toolkit/library/rust/Cargo.toml
+++ b/toolkit/library/rust/Cargo.toml
@@ -33,8 +33,11 @@ panic = "abort"
 
 [profile.release]
 opt-level = 2
 debug = true
 rpath = false
 lto = true
 debug-assertions = false
 panic = "abort"
+
+[replace]
+"selectors:0.15.2" = { path = "../../../third_party/rust/selectors" }