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:
Sebastian Thiel
2015-04-07 15:53:30 +02:00
parent 3403bd1c5c
commit dd1d191966
237 changed files with 5673 additions and 5673 deletions

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *App State* crate version *0.1.3+20150326*, where *20150326* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.3*.
//! This documentation was generated from *App State* crate version *0.1.4+20150326*, where *20150326* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.4*.
//!
//! Everything else about the *App State* *v1* API can be found at the
//! [official documentation site](https://developers.google.com/games/services/web/api/states).
@@ -311,7 +311,7 @@ impl<'a, C, NC, A> AppState<C, NC, A>
AppState {
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
}
}
@@ -321,7 +321,7 @@ impl<'a, C, NC, A> AppState<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 {
@@ -351,7 +351,7 @@ pub struct ListResponse {
/// Uniquely identifies the type of this resource. Value is always the fixed string appstate#listResponse.
pub kind: String,
/// The maximum number of keys allowed for this user.
#[serde(alias="maximumKeyCount")]
#[serde(rename="maximumKeyCount")]
pub maximum_key_count: i32,
}
@@ -374,10 +374,10 @@ pub struct GetResponse {
/// Uniquely identifies the type of this resource. Value is always the fixed string appstate#getResponse.
pub kind: String,
/// The key for the data.
#[serde(alias="stateKey")]
#[serde(rename="stateKey")]
pub state_key: i32,
/// The current app state version.
#[serde(alias="currentStateVersion")]
#[serde(rename="currentStateVersion")]
pub current_state_version: String,
}
@@ -419,10 +419,10 @@ pub struct WriteResult {
/// Uniquely identifies the type of this resource. Value is always the fixed string appstate#writeResult.
pub kind: String,
/// The written key.
#[serde(alias="stateKey")]
#[serde(rename="stateKey")]
pub state_key: i32,
/// The version of the data for this key on the server.
#[serde(alias="currentStateVersion")]
#[serde(rename="currentStateVersion")]
pub current_state_version: String,
}