mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-15 22:18:10 +01:00
chore(api-version-up)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-gmail1"
|
||||
version = "0.1.15+20160711"
|
||||
version = "1.0.0+20160711"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with gmail (protocol v1)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gmail1"
|
||||
@@ -20,13 +20,13 @@ hyper = "^ 0.9"
|
||||
mime = "^ 0.2.0"
|
||||
serde = "^ 0.8"
|
||||
serde_json = "^ 0.8"
|
||||
yup-oauth2 = { version = "^ 0.6", optional = true, default-features = false }
|
||||
serde_macros = { version = "^ 0.8", optional = true }
|
||||
yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false }
|
||||
serde_derive = { version = "^ 0.8", optional = true }
|
||||
url = "= 0.5"
|
||||
|
||||
[features]
|
||||
default = ["with-serde-codegen"]
|
||||
nightly = ["serde_macros","yup-oauth2/nightly"]
|
||||
nightly = ["serde_derive","yup-oauth2/nightly"]
|
||||
with-serde-codegen = ["serde_codegen","yup-oauth2/with-serde-codegen"]
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -5,7 +5,7 @@ DO NOT EDIT !
|
||||
-->
|
||||
The `google-gmail1` library allows access to all features of the *Google gmail* service.
|
||||
|
||||
This documentation was generated from *gmail* crate version *0.1.15+20160711*, where *20160711* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.15*.
|
||||
This documentation was generated from *gmail* crate version *1.0.0+20160711*, where *20160711* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.0*.
|
||||
|
||||
Everything else about the *gmail* *v1* API can be found at the
|
||||
[official documentation site](https://developers.google.com/gmail/api/).
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *gmail* crate version *0.1.15+20160711*, where *20160711* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.15*.
|
||||
//! This documentation was generated from *gmail* crate version *1.0.0+20160711*, where *20160711* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.0*.
|
||||
//!
|
||||
//! Everything else about the *gmail* *v1* API can be found at the
|
||||
//! [official documentation site](https://developers.google.com/gmail/api/).
|
||||
@@ -199,8 +199,7 @@
|
||||
// We don't warn about this, as depending on the API, some data structures or facilities are never used.
|
||||
// Instead of pre-determining this, we just disable the lint. It's manually tuned to not have any
|
||||
// unused imports in fully featured APIs. Same with unused_mut ... .
|
||||
#![cfg_attr(feature = "nightly", feature(custom_derive, custom_attribute, plugin))]
|
||||
#![cfg_attr(feature = "nightly", plugin(serde_macros))]
|
||||
#![cfg_attr(feature = "nightly", feature(proc_macro))]
|
||||
#![allow(unused_imports, unused_mut, dead_code)]
|
||||
|
||||
#[cfg(feature = "nightly")]
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
// This file was generated automatically from 'src/mako/api/lib.rs.in.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
#[cfg(feature = "nightly")]
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
extern crate hyper;
|
||||
extern crate serde;
|
||||
extern crate serde_json;
|
||||
@@ -170,7 +174,7 @@ impl<'a, C, A> Gmail<C, A>
|
||||
Gmail {
|
||||
client: RefCell::new(client),
|
||||
auth: RefCell::new(authenticator),
|
||||
_user_agent: "google-api-rust-client/0.1.15".to_string(),
|
||||
_user_agent: "google-api-rust-client/1.0.0".to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -179,7 +183,7 @@ impl<'a, C, A> Gmail<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.15`.
|
||||
/// It defaults to `google-api-rust-client/1.0.0`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user