chore(versionup): support for latest hyper

This commit is contained in:
Sebastian Thiel
2015-12-06 17:51:06 +01:00
parent f0f4df45c3
commit e3f4fcadad
577 changed files with 1345 additions and 577 deletions

View File

@@ -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(())
}
}

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 *taskqueue* crate version *0.1.9+20141111*, where *20141111* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.9*.
//! This documentation was generated from *taskqueue* crate version *0.1.10+20141111*, where *20141111* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.10*.
//!
//! Everything else about the *taskqueue* *v1_beta2* API can be found at the
//! [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest).

View File

@@ -132,7 +132,7 @@ impl<'a, C, A> Taskqueue<C, A>
Taskqueue {
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(),
}
}
@@ -144,7 +144,7 @@ impl<'a, C, A> Taskqueue<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 {