mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
feat(lib): use serge instead of serialize
However, for some reason, the `Serialize/Deserialize` macros don't work for me, even though they work just fine in the respective tests of the serge crate. What am I possibly doing wrong ?
This commit is contained in:
@@ -43,7 +43,7 @@ impl<T: Seek + Read> ReadSeek for T {}
|
||||
|
||||
|
||||
/// A utility type which can decode a server response that indicates error
|
||||
#[derive(RustcDecodable)]
|
||||
#[derive(Deserialize)]
|
||||
pub struct JsonServerError {
|
||||
error: String,
|
||||
error_description: Option<String>
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
#![feature(core,io,old_path)]
|
||||
#![feature(core,io,old_path, custom_derive, plugin)]
|
||||
#![allow(dead_code, deprecated, unused_features)]
|
||||
//! library with code shared by all generated implementations
|
||||
#![plugin(serde_macros)]
|
||||
extern crate hyper;
|
||||
extern crate mime;
|
||||
extern crate "rustc-serialize" as rustc_serialize;
|
||||
extern crate "yup-oauth2" as oauth2;
|
||||
extern crate serde;
|
||||
|
||||
// just pull it in the check if it compiles
|
||||
mod cmn;
|
||||
|
||||
Reference in New Issue
Block a user