mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
fix(publish): v0.1.4
* macro 'alias' was renamed to 'rename' * fixed `cargo test` on main project The latter pointed me to the serde issue, which would have made everything fail when actually used to communicate with google servers.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-webfonts1"
|
||||
version = "0.1.3+20140210"
|
||||
version = "0.1.4+20140210"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail>"]
|
||||
description = "A complete library to interact with webfonts (protocol v1)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webfonts1"
|
||||
@@ -18,5 +18,5 @@ hyper = "*"
|
||||
mime = "*"
|
||||
yup-oauth2 = "*"
|
||||
url = "*"
|
||||
serde = "*"
|
||||
serde = ">= 0.3.0"
|
||||
serde_macros = "*"
|
||||
|
||||
@@ -5,7 +5,7 @@ DO NOT EDIT !
|
||||
-->
|
||||
The `google-webfonts1` library allows access to all features of the *Google webfonts* service.
|
||||
|
||||
This documentation was generated from *webfonts* crate version *0.1.3+20140210*, where *20140210* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.3*.
|
||||
This documentation was generated from *webfonts* crate version *0.1.4+20140210*, where *20140210* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.4*.
|
||||
|
||||
Everything else about the *webfonts* *v1* API can be found at the
|
||||
[official documentation site](https://developers.google.com/fonts/docs/developer_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 *webfonts* crate version *0.1.3+20140210*, where *20140210* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.3*.
|
||||
//! This documentation was generated from *webfonts* crate version *0.1.4+20140210*, where *20140210* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.4*.
|
||||
//!
|
||||
//! Everything else about the *webfonts* *v1* API can be found at the
|
||||
//! [official documentation site](https://developers.google.com/fonts/docs/developer_api).
|
||||
@@ -276,7 +276,7 @@ impl<'a, C, NC, A> Webfonts<C, NC, A>
|
||||
Webfonts {
|
||||
client: RefCell::new(client),
|
||||
auth: RefCell::new(authenticator),
|
||||
_user_agent: "google-api-rust-client/0.1.3".to_string(),
|
||||
_user_agent: "google-api-rust-client/0.1.4".to_string(),
|
||||
_m: PhantomData
|
||||
}
|
||||
}
|
||||
@@ -286,7 +286,7 @@ impl<'a, C, NC, A> Webfonts<C, NC, A>
|
||||
}
|
||||
|
||||
/// Set the user-agent header field to use in all requests to the server.
|
||||
/// It defaults to `google-api-rust-client/0.1.3`.
|
||||
/// It defaults to `google-api-rust-client/0.1.4`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
@@ -322,7 +322,7 @@ pub struct Webfont {
|
||||
/// The scripts supported by the font.
|
||||
pub subsets: Option<Vec<String>>,
|
||||
/// The date (format "yyyy-MM-dd") the font was modified for the last time.
|
||||
#[serde(alias="lastModified")]
|
||||
#[serde(rename="lastModified")]
|
||||
pub last_modified: Option<String>,
|
||||
/// The font version.
|
||||
pub version: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user