mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
update deps
This commit is contained in:
@ -14,10 +14,10 @@ path = "src/main.rs"
|
||||
#path = "src/client.rs"
|
||||
|
||||
[dependencies]
|
||||
actix = { git="https://github.com/actix/actix.git" }
|
||||
actix-web = { git="https://github.com/actix/actix-web.git" }
|
||||
actix-web-actors = { git="https://github.com/actix/actix-web.git" }
|
||||
actix-files = { git="https://github.com/actix/actix-web.git" }
|
||||
actix = "0.8.0-alpha.1"
|
||||
actix-web = "1.0.0-alpha.1"
|
||||
actix-web-actors = "1.0.0-alpha.1"
|
||||
actix-files = "0.1.0-alpha.1"
|
||||
env_logger = "0.6"
|
||||
futures = "0.1"
|
||||
bytes = "0.4"
|
@ -1,16 +1,9 @@
|
||||
//! Simple websocket client.
|
||||
|
||||
#![allow(unused_variables)]
|
||||
extern crate actix;
|
||||
extern crate actix_web;
|
||||
extern crate env_logger;
|
||||
extern crate futures;
|
||||
|
||||
use std::time::Duration;
|
||||
use std::{io, thread};
|
||||
|
||||
use actix::*;
|
||||
use actix_web::ws::{Client, ClientWriter, Message, ProtocolError};
|
||||
use actix_web::client::{Client, ClientWriter, Message, ProtocolError};
|
||||
use futures::Future;
|
||||
|
||||
fn main() {
|
||||
|
Reference in New Issue
Block a user