Commit 03dad5a5 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐

enable serde derive feature

parent 64dd5f61
......@@ -1300,7 +1300,6 @@ dependencies = [
"rocket_cors 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rusqlite 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)",
"structopt 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"url 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
......
......@@ -20,9 +20,8 @@ reqwest = "0.9.5"
log = "0.4.0"
env_logger = "0.7"
rocket_cors = "0.5"
serde = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_derive = "1.0"
rusqlite = "0.21.0"
xdg = "^2.1"
walkdir = "2"
......
......@@ -14,7 +14,7 @@ use chrono::{DateTime, TimeZone, Utc};
use failure::Error;
use rusqlite::types::ToSql;
use rusqlite::{Connection, Row, Rows, NO_PARAMS};
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
use xdg;
......
......@@ -12,7 +12,7 @@
// this program. If not, see <https://www.gnu.org/licenses/>.
use failure::Error;
use glib::Receiver;
use serde_derive::Serialize;
use serde::Serialize;
use std::cell::{Cell, RefCell};
use std::convert::TryInto;
use std::ops;
......
......@@ -10,7 +10,7 @@
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <https://www.gnu.org/licenses/>.
use serde_derive::Serialize;
use serde::Serialize;
use std::collections::{HashMap, VecDeque};
use std::path::PathBuf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment