mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 09:39:15 +02:00
Use serde JSON crate globally in API
This commit is contained in:
parent
8101bb3d19
commit
dd41dfbacc
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue