Bug 1451945 - Remove syn dependency from gkrust-shared. r=ted
authorMatt Brubeck <mbrubeck@mozilla.com>
Thu, 05 Apr 2018 15:51:14 -0700
changeset 412143 580a27dbc127ef6ea45de4122395361bc22190d9
parent 412142 5d49be8bf0a7e67ada8631c51ec139dd04eb510d
child 412144 ed0f7977dafc3b675f755a4b47a44bc54fe60924
push id33784
push usernerli@mozilla.com
push dateFri, 06 Apr 2018 21:54:36 +0000
treeherdermozilla-central@0e0ec6c01e25 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1451945, 1373878
milestone61.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 1451945 - Remove syn dependency from gkrust-shared. r=ted Remove the syn dependency from gkrust-shared, which was added in bug 1373878 as a workaround for this Cargo bug: https://github.com/rust-lang/cargo/issues/3923 MozReview-Commit-ID: L34J0davEYd
toolkit/library/rust/shared/Cargo.toml
toolkit/library/rust/shared/lib.rs
--- a/toolkit/library/rust/shared/Cargo.toml
+++ b/toolkit/library/rust/shared/Cargo.toml
@@ -20,17 +20,16 @@ cubeb-sys = { version = "0.5.0", optiona
 encoding_c = "0.8.0"
 encoding_glue = { path = "../../../../intl/encoding_glue" }
 audioipc-client = { path = "../../../../media/audioipc/client", optional = true }
 audioipc-server = { path = "../../../../media/audioipc/server", optional = true }
 u2fhid = { path = "../../../../dom/webauthn/u2f-hid-rs" }
 rsdparsa_capi = { path = "../../../../media/webrtc/signaling/src/sdp/rsdparsa_capi" }
 # We have these to enforce common feature sets for said crates.
 log = {version = "0.3", features = ["release_max_level_info"]}
-syn = { version = "0.11", features = ["full", "visit", "parsing"] }
 cose-c = { version = "0.1.5" }
 
 [features]
 default = []
 bindgen = ["geckoservo/bindgen"]
 servo = ["geckoservo"]
 quantum_render = ["webrender_bindings"]
 cubeb-remoting = ["cubeb-sys", "audioipc-client", "audioipc-server"]
--- a/toolkit/library/rust/shared/lib.rs
+++ b/toolkit/library/rust/shared/lib.rs
@@ -19,17 +19,16 @@ extern crate cubeb_pulse;
 extern crate encoding_c;
 extern crate encoding_glue;
 #[cfg(feature = "cubeb-remoting")]
 extern crate audioipc_client;
 #[cfg(feature = "cubeb-remoting")]
 extern crate audioipc_server;
 extern crate u2fhid;
 extern crate log;
-extern crate syn;
 extern crate cosec;
 extern crate rsdparsa_capi;
 
 use std::boxed::Box;
 use std::ffi::CStr;
 use std::os::raw::c_char;
 use std::panic;