From f453178ca2c97a77aff6d5e9e0457a1b8b3c26bc Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 16 Mar 2020 14:46:00 -0700 Subject: [PATCH] rust: Remove unnecessary dependencies from core library --- Cargo.lock | 3 --- lib/Cargo.toml | 3 --- lib/binding_rust/lib.rs | 5 ----- 3 files changed, 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 172e2d78..e57779cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -741,9 +741,6 @@ version = "0.6.3" dependencies = [ "cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 5e0bbb5c..78829420 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -20,9 +20,6 @@ include = [ [dependencies] regex = "1" -serde = "1.0" -serde_json = "1.0" -serde_derive = "1.0" [build-dependencies] cc = "1.0" diff --git a/lib/binding_rust/lib.rs b/lib/binding_rust/lib.rs index 02be62f6..b40d97e5 100644 --- a/lib/binding_rust/lib.rs +++ b/lib/binding_rust/lib.rs @@ -1,11 +1,6 @@ mod ffi; mod util; -extern crate regex; -extern crate serde; -extern crate serde_derive; -extern crate serde_json; - #[cfg(unix)] use std::os::unix::io::AsRawFd;