diff options
| -rw-r--r-- | talpid-openvpn-plugin/Cargo.toml | 1 | ||||
| -rw-r--r-- | talpid-openvpn-plugin/build.rs | 5 | ||||
| -rw-r--r-- | talpid-openvpn-plugin/src/lib.rs | 9 | ||||
| -rw-r--r-- | talpid-openvpn-plugin/src/processing.rs | 3 |
4 files changed, 1 insertions, 17 deletions
diff --git a/talpid-openvpn-plugin/Cargo.toml b/talpid-openvpn-plugin/Cargo.toml index c914372af1..5adb933749 100644 --- a/talpid-openvpn-plugin/Cargo.toml +++ b/talpid-openvpn-plugin/Cargo.toml @@ -11,6 +11,7 @@ authors = [ ] description = "OpenVPN shared library plugin for relaying OpenVPN events to talpid_core" license = "GPL-3.0" +edition = "2018" [lib] crate-type = ["cdylib"] diff --git a/talpid-openvpn-plugin/build.rs b/talpid-openvpn-plugin/build.rs index 126fbafc03..f12d4d84ad 100644 --- a/talpid-openvpn-plugin/build.rs +++ b/talpid-openvpn-plugin/build.rs @@ -1,8 +1,3 @@ -#[cfg(windows)] -extern crate winapi; -#[cfg(windows)] -extern crate winres; - fn main() { #[cfg(windows)] { diff --git a/talpid-openvpn-plugin/src/lib.rs b/talpid-openvpn-plugin/src/lib.rs index 8faff42a79..36db6aefed 100644 --- a/talpid-openvpn-plugin/src/lib.rs +++ b/talpid-openvpn-plugin/src/lib.rs @@ -6,17 +6,8 @@ //! GNU General Public License as published by the Free Software Foundation, either version 3 of //! the License, or (at your option) any later version. -extern crate env_logger; #[macro_use] extern crate error_chain; -extern crate log; - -extern crate futures; -extern crate jsonrpc_client_core; -extern crate jsonrpc_client_ipc; -extern crate openvpn_plugin; -extern crate tokio; -extern crate tokio_reactor; use error_chain::ChainedError; use openvpn_plugin::{openvpn_plugin, EventResult, EventType}; diff --git a/talpid-openvpn-plugin/src/processing.rs b/talpid-openvpn-plugin/src/processing.rs index 9601fa368e..4e1eb361a8 100644 --- a/talpid-openvpn-plugin/src/processing.rs +++ b/talpid-openvpn-plugin/src/processing.rs @@ -1,7 +1,4 @@ -extern crate futures; - use super::Arguments; -use crate::openvpn_plugin; use jsonrpc_client_core::{ expand_params, jsonrpc_client, Future, Result as ClientResult, Transport, }; |
