From 244a34057f5eee8f0431d56605f30a6438175276 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 18 Jun 2019 17:34:20 +0200 Subject: [PATCH] Switch to edition 2018 --- Cargo.toml | 4 ++-- src/ipc.rs | 2 +- src/lib.rs | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d32fff6..e4e0ca3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,8 @@ license = "GPL-3.0" homepage = "https://gitlab.com/mpv-ipc/mpvipc" repository = "https://gitlab.com/mpv-ipc/mpvipc" documentation = "https://docs.rs/mpvipc/" - +edition = "2018" [dependencies] serde = "1.0.1" -serde_json = "1.0.0" \ No newline at end of file +serde_json = "1.0.0" diff --git a/src/ipc.rs b/src/ipc.rs index 5414d2b..83428cf 100644 --- a/src/ipc.rs +++ b/src/ipc.rs @@ -554,4 +554,4 @@ fn json_array_to_playlist(array: &Vec) -> Vec { }); } output -} \ No newline at end of file +} diff --git a/src/lib.rs b/src/lib.rs index 2cb7a4e..d33e110 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,3 @@ -extern crate serde; -extern crate serde_json; - pub mod ipc; use ipc::*;