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

@@ -4,7 +4,7 @@
[package]
name = "google-cloudlatencytest2"
version = "0.1.3+20150206"
version = "0.1.4+20150206"
authors = ["Sebastian Thiel <byronimo@gmail>"]
description = "A complete library to interact with cloudlatencytest (protocol v2)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2"
@@ -17,5 +17,5 @@ hyper = "*"
mime = "*"
yup-oauth2 = "*"
url = "*"
serde = "*"
serde = ">= 0.3.0"
serde_macros = "*"

View File

@@ -5,7 +5,7 @@ DO NOT EDIT !
-->
The `google-cloudlatencytest2` library allows access to all features of the *Google cloudlatencytest* service.
This documentation was generated from *cloudlatencytest* crate version *0.1.3+20150206*, where *20150206* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.3*.
This documentation was generated from *cloudlatencytest* crate version *0.1.4+20150206*, where *20150206* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.4*.
# Features
Handle the following *Resources* with ease from the central [hub](http://byron.github.io/google-apis-rs/google-cloudlatencytest2/struct.Cloudlatencytest.html) ...

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 *cloudlatencytest* crate version *0.1.3+20150206*, where *20150206* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.3*.
//! This documentation was generated from *cloudlatencytest* crate version *0.1.4+20150206*, where *20150206* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.4*.
//! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2).
//! # Features
//!
@@ -305,7 +305,7 @@ impl<'a, C, NC, A> Cloudlatencytest<C, NC, A>
Cloudlatencytest {
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
}
}
@@ -315,7 +315,7 @@ impl<'a, C, NC, A> Cloudlatencytest<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 {
@@ -356,13 +356,13 @@ impl Part for IntValue {}
#[derive(Default, Clone, Debug, Serialize)]
pub struct Stats {
/// no description provided
#[serde(alias="stringValues")]
#[serde(rename="stringValues")]
pub string_values: Option<Vec<StringValue>>,
/// no description provided
#[serde(alias="intValues")]
#[serde(rename="intValues")]
pub int_values: Option<Vec<IntValue>>,
/// no description provided
#[serde(alias="doubleValues")]
#[serde(rename="doubleValues")]
pub double_values: Option<Vec<DoubleValue>>,
/// no description provided
pub time: Option<f64>,
@@ -416,7 +416,7 @@ impl RequestValue for AggregatedStats {}
#[derive(Default, Clone, Debug, Deserialize)]
pub struct AggregatedStatsReply {
/// no description provided
#[serde(alias="testValue")]
#[serde(rename="testValue")]
pub test_value: String,
}
@@ -450,7 +450,7 @@ impl Part for DoubleValue {}
#[derive(Default, Clone, Debug, Deserialize)]
pub struct StatsReply {
/// no description provided
#[serde(alias="testValue")]
#[serde(rename="testValue")]
pub test_value: String,
}