Update Cargo.toml to use crates.io releases of tokio deps.

This commit is contained in:
Tim Kuehn
2017-01-11 14:23:52 -08:00
parent 91e9ad3001
commit e4ef0881e6
14 changed files with 51 additions and 57 deletions

View File

@@ -45,7 +45,7 @@
//! struct HelloServer;
//!
//! impl SyncService for HelloServer {
//! fn hello(&mut self, name: String) -> Result<String, Never> {
//! fn hello(&self, name: String) -> Result<String, Never> {
//! Ok(format!("Hello, {}!", name))
//! }
//! }
@@ -53,7 +53,7 @@
//! fn main() {
//! let addr = "localhost:10000";
//! let _server = HelloServer.listen(addr);
//! let mut client = SyncClient::connect(addr).unwrap();
//! let client = SyncClient::connect(addr).unwrap();
//! println!("{}", client.hello("Mom".to_string()).unwrap());
//! }
//! ```