mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-04 01:59:14 +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 hyper;
|
||||||
extern crate serde_json;
|
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
|
@ -10,6 +9,7 @@ use reqwest::header::{
|
||||||
Raw,
|
Raw,
|
||||||
};
|
};
|
||||||
use self::hyper::error::Error as HyperError;
|
use self::hyper::error::Error as HyperError;
|
||||||
|
use serde_json;
|
||||||
|
|
||||||
use crypto::b64;
|
use crypto::b64;
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ pub extern crate reqwest;
|
||||||
pub extern crate url;
|
pub extern crate url;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate serde_derive;
|
extern crate serde_derive;
|
||||||
|
extern crate serde_json;
|
||||||
|
|
||||||
pub mod action;
|
pub mod action;
|
||||||
pub mod crypto;
|
pub mod crypto;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue