bug 1490674: rsdparsa: relax log crate dependency version; r=drno
authorAndreas Tolfsen <ato@sny.no>
Wed, 12 Sep 2018 15:00:07 +0100
changeset 436347 e682647d08a2114c66628cd4c63b6291ccff41c0
parent 436346 7b01b1ef8e8a8f7354210d5d285b0110313a0dc2
child 436348 f80135589b9b9b022211b3487446a6be5d56f555
push id34641
push usercbrindusan@mozilla.com
push dateFri, 14 Sep 2018 15:29:30 +0000
treeherdermozilla-central@5274e2dda972 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno
bugs1490674
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1490674: rsdparsa: relax log crate dependency version; r=drno Because all Rust crates in the tree are vendored, using the wildcard "*" version dependency could have unintended reprecussions on rsdparsa if another crate changes its log version dependency. This patch, along with the others associated with this bug, upgrades the log crate to 0.4.* throughout. This has the benefit that we can get rid of the duplicate vendored log crates in third_party/rust.
Cargo.lock
media/webrtc/signaling/src/sdp/rsdparsa/Cargo.toml
media/webrtc/signaling/src/sdp/rsdparsa_capi/Cargo.toml
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1881,17 +1881,17 @@ dependencies = [
  "serde_derive 1.0.66 (git+https://github.com/servo/serde?branch=deserialize_from_enums8)",
 ]
 
 [[package]]
 name = "rsdparsa_capi"
 version = "0.1.0"
 dependencies = [
  "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
- "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
  "nserror 0.1.0",
  "rsdparsa 0.1.0",
 ]
 
 [[package]]
 name = "runloop"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
--- a/media/webrtc/signaling/src/sdp/rsdparsa/Cargo.toml
+++ b/media/webrtc/signaling/src/sdp/rsdparsa/Cargo.toml
@@ -5,14 +5,14 @@ authors = ["Nils Ohlmeier <github@ohlmei
 
 [features]
 default = []
 # serializability
 serialize = ["serde", "serde_derive"]
 
 [dependencies]
 # clippy = {version = "*", optional = true}
-log = {version = "*"}
+log = "0.4"
 serde = {version = "1.0" , optional = true}
 serde_derive = {version = "1.0" , optional = true}
 
 [dev-dependencies]
 # serde_json = {version = "1.0"}
--- a/media/webrtc/signaling/src/sdp/rsdparsa_capi/Cargo.toml
+++ b/media/webrtc/signaling/src/sdp/rsdparsa_capi/Cargo.toml
@@ -1,11 +1,11 @@
 [package]
 name = "rsdparsa_capi"
 version = "0.1.0"
 authors = ["Paul Ellenbogen <pe5@cs.princeton.edu>",
 	   "Nils Ohlmeier <github@ohlmeier.org>"]
 
 [dependencies]
 libc = "^0.2.0"
-log = "^0.3"
+log = "0.4"
 rsdparsa = {version = "0.1.0", path = "../rsdparsa"}
 nserror = { path = "../../../../../../xpcom/rust/nserror" }