]> git.lizzy.rs Git - rust.git/commitdiff
remove explicit serde_derive
authorAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 21 Dec 2018 19:39:59 +0000 (22:39 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 21 Dec 2018 19:39:59 +0000 (22:39 +0300)
Cargo.lock
crates/gen_lsp_server/Cargo.toml
crates/gen_lsp_server/src/msg.rs
crates/ra_lsp_server/Cargo.toml
crates/ra_lsp_server/src/main.rs
crates/ra_lsp_server/src/req.rs

index bf2297e696ccd8097b3e27164460d5c5668df48f..1e5f00de0965454025387bfd9005f7c5d5abac9b 100644 (file)
@@ -334,7 +334,6 @@ dependencies = [
  "languageserver-types 0.53.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde_derive 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)",
 ]
 
@@ -732,7 +731,6 @@ dependencies = [
  "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde_derive 1.0.82 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)",
  "smol_str 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
  "tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
index 6c91e38aa07535ae47cc8287e48516675819732e..5f90d39d6c33c8597abb3cadd38038a2711a7312 100644 (file)
@@ -13,5 +13,4 @@ log = "0.4.3"
 failure = "0.1.2"
 serde_json = "1.0.24"
 serde = "1.0.71"
-serde_derive = "1.0.71"
 crossbeam-channel = "0.2.4"
index 22d273d55a188f23238f006c8a9050c527fba562..ef6358cb1719ebeb9e96b70326965cb8d24365e0 100644 (file)
@@ -1,7 +1,7 @@
 use std::io::{BufRead, Write};
 
 use languageserver_types::{notification::Notification, request::Request};
-use serde_derive::{Deserialize, Serialize};
+use serde::{Deserialize, Serialize};
 use serde_json::{from_str, from_value, to_string, to_value, Value};
 use failure::{bail, format_err};
 
index fc10096e5a177484eec37b74d4f9a45ec80f58ec..3c8c240cd80b5804c48cb06a2823cc7c7de2683a 100644 (file)
@@ -12,7 +12,6 @@ failure = "0.1.2"
 failure_derive = "0.1.2"
 serde_json = "1.0.24"
 serde = "1.0.71"
-serde_derive = "1.0.71"
 drop_bomb = "0.1.0"
 crossbeam-channel = "0.2.4"
 flexi_logger = "0.10.0"
index 4497980e5fca4d911436bb60897430d04fcfb696..eae601f919c3ec2134bf37f4442e4ee7609e3cde 100644 (file)
@@ -1,7 +1,7 @@
-use serde_derive::Deserialize;
-use serde::Deserialize as _D;
+use serde::Deserialize;
 use flexi_logger::{Duplicate, Logger};
 use gen_lsp_server::{run_server, stdio_transport};
+
 use ra_lsp_server::Result;
 
 fn main() -> Result<()> {
index 999792ecba8e3a0e0c36d855c550480f34405a33..747ab8a8c97bffab4d494e14da8f47ebd013a61e 100644 (file)
@@ -1,4 +1,4 @@
-use serde_derive::{Serialize, Deserialize};
+use serde::{Serialize, Deserialize};
 use languageserver_types::{Location, Position, Range, TextDocumentIdentifier, Url};
 use rustc_hash::FxHashMap;
 use url_serde;