Use serde JSON crate globally in API

This commit is contained in:
Tim Visée 2018-03-20 13:25:58 +01:00
parent 8101bb3d19
commit dd41dfbacc
No known key found for this signature in database
GPG key ID: A28432A0AE6E6306
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,4 @@
extern crate hyper;
extern crate serde_json;
use std::fmt;
@ -10,6 +9,7 @@ use reqwest::header::{
Raw,
};
use self::hyper::error::Error as HyperError;
use serde_json;
use crypto::b64;

View file

@ -4,6 +4,7 @@ pub extern crate reqwest;
pub extern crate url;
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
pub mod action;
pub mod crypto;