mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(code): update code to latest version
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-dfareporting2d4"
|
||||
version = "0.1.13+20160323"
|
||||
version = "0.1.14+20160323"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with dfareporting (protocol v2.4)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d4"
|
||||
@@ -21,15 +21,14 @@ mime = "^ 0.2.0"
|
||||
serde = "^ 0.7.5"
|
||||
serde_json = "^ 0.7.0"
|
||||
yup-oauth2 = { version = "^ 0.6.0", optional = true, default-features = false }
|
||||
serde_macros = { version = "0.7.5", optional = true }
|
||||
serde_macros = { version = "^ 0.7.5", optional = true }
|
||||
url = "= 0.5"
|
||||
|
||||
[features]
|
||||
default = ["with-syntex"]
|
||||
default = ["with-serde-codegen"]
|
||||
nightly = ["serde_macros","yup-oauth2/nightly"]
|
||||
with-syntex = ["serde_codegen","syntex","yup-oauth2/with-syntex"]
|
||||
with-serde-codegen = ["serde_codegen","yup-oauth2/with-serde-codegen"]
|
||||
|
||||
[build-dependencies]
|
||||
syntex = { version = "= 0.32", optional = true }
|
||||
serde_codegen = { version = "= 0.7.5", optional = true }
|
||||
serde_codegen = { version = "^ 0.7.14", optional = true }
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ DO NOT EDIT !
|
||||
-->
|
||||
The `google-dfareporting2d4` library allows access to all features of the *Google dfareporting* service.
|
||||
|
||||
This documentation was generated from *dfareporting* crate version *0.1.13+20160323*, where *20160323* is the exact revision of the *dfareporting:v2.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.13*.
|
||||
This documentation was generated from *dfareporting* crate version *0.1.14+20160323*, where *20160323* is the exact revision of the *dfareporting:v2.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
|
||||
|
||||
Everything else about the *dfareporting* *v2d4* API can be found at the
|
||||
[official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/).
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#[cfg(feature = "with-syntex")]
|
||||
#[cfg(feature = "with-serde-codegen")]
|
||||
mod inner {
|
||||
extern crate syntex;
|
||||
extern crate serde_codegen;
|
||||
|
||||
use std::env;
|
||||
@@ -12,13 +11,11 @@ mod inner {
|
||||
let src = Path::new("src/lib.rs.in");
|
||||
let dst = Path::new(&out_dir).join("lib.rs");
|
||||
|
||||
let mut registry = syntex::Registry::new();
|
||||
serde_codegen::register(&mut registry);
|
||||
registry.expand("google-dfareporting2d4", &src, &dst).unwrap();
|
||||
serde_codegen::expand(&src, &dst).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "with-syntex"))]
|
||||
#[cfg(not(feature = "with-serde-codegen"))]
|
||||
mod inner {
|
||||
pub fn main() {}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *dfareporting* crate version *0.1.13+20160323*, where *20160323* is the exact revision of the *dfareporting:v2.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.13*.
|
||||
//! This documentation was generated from *dfareporting* crate version *0.1.14+20160323*, where *20160323* is the exact revision of the *dfareporting:v2.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.14*.
|
||||
//!
|
||||
//! Everything else about the *dfareporting* *v2d4* API can be found at the
|
||||
//! [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/).
|
||||
@@ -310,5 +310,5 @@
|
||||
#[cfg(feature = "nightly")]
|
||||
include!("lib.rs.in");
|
||||
|
||||
#[cfg(feature = "with-syntex")]
|
||||
#[cfg(feature = "with-serde-codegen")]
|
||||
include!(concat!(env!("OUT_DIR"), "/lib.rs"));
|
||||
@@ -136,7 +136,7 @@ impl<'a, C, A> Dfareporting<C, A>
|
||||
Dfareporting {
|
||||
client: RefCell::new(client),
|
||||
auth: RefCell::new(authenticator),
|
||||
_user_agent: "google-api-rust-client/0.1.13".to_string(),
|
||||
_user_agent: "google-api-rust-client/0.1.14".to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -307,7 +307,7 @@ impl<'a, C, A> Dfareporting<C, A>
|
||||
}
|
||||
|
||||
/// Set the user-agent header field to use in all requests to the server.
|
||||
/// It defaults to `google-api-rust-client/0.1.13`.
|
||||
/// It defaults to `google-api-rust-client/0.1.14`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user