mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(versionup): support for latest hyper
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-cloudlatencytest2"
|
||||
version = "0.1.9+20150508"
|
||||
version = "0.1.10+20150508"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with cloudlatencytest (protocol v2)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2"
|
||||
@@ -15,7 +15,7 @@ build = "src/build.rs"
|
||||
|
||||
|
||||
[dependencies]
|
||||
hyper = ">= 0.6.8"
|
||||
hyper = "0.7.0"
|
||||
mime = "0.1.0"
|
||||
serde = ">= 0.6.0"
|
||||
serde_json = ">= 0.6.0"
|
||||
|
||||
@@ -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.9+20150508*, where *20150508* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.9*.
|
||||
This documentation was generated from *cloudlatencytest* crate version *0.1.10+20150508*, where *20150508* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.10*.
|
||||
# Features
|
||||
|
||||
Handle the following *Resources* with ease from the central [hub](http://byron.github.io/google-apis-rs/google_cloudlatencytest2/struct.Cloudlatencytest.html) ...
|
||||
|
||||
@@ -114,6 +114,14 @@ impl hyper::net::NetworkStream for DummyNetworkStream {
|
||||
fn peer_addr(&mut self) -> io::Result<std::net::SocketAddr> {
|
||||
Ok("127.0.0.1:1337".parse().unwrap())
|
||||
}
|
||||
|
||||
fn set_read_timeout(&self, _dur: Option<std::time::Duration>) -> io::Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn set_write_timeout(&self, _dur: Option<std::time::Duration>) -> io::Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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.9+20150508*, where *20150508* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.9*.
|
||||
//! This documentation was generated from *cloudlatencytest* crate version *0.1.10+20150508*, where *20150508* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.10*.
|
||||
//! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2).
|
||||
//! # Features
|
||||
//!
|
||||
|
||||
@@ -132,7 +132,7 @@ impl<'a, C, A> Cloudlatencytest<C, A>
|
||||
Cloudlatencytest {
|
||||
client: RefCell::new(client),
|
||||
auth: RefCell::new(authenticator),
|
||||
_user_agent: "google-api-rust-client/0.1.9".to_string(),
|
||||
_user_agent: "google-api-rust-client/0.1.10".to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ impl<'a, C, A> Cloudlatencytest<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.9`.
|
||||
/// It defaults to `google-api-rust-client/0.1.10`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user