1
0
mirror of https://github.com/actix/examples synced 2025-02-02 09:39:03 +01:00

code review fixes

This commit is contained in:
Anton Patrushev 2019-02-22 15:00:58 +05:00
parent 2cd0ea9a2e
commit 0d45081fa0
4 changed files with 5 additions and 9 deletions

View File

@ -62,6 +62,7 @@ script:
cd template_tera && cargo check && cd ..
cd tls && cargo check && cd ..
cd rustls && cargo check && cd ..
cd udp-echo && cargo check && cd ..
cd unix-socket && cargo check && cd ..
cd web-cors/backend && cargo check && cd ../..
cd websocket && cargo check && cd ..

View File

@ -29,8 +29,8 @@ members = [
"template_tera",
"tls",
"rustls",
"unix-socket",
"udp-echo",
"unix-socket",
"web-cors/backend",
"websocket",
"websocket-chat",

View File

@ -6,6 +6,6 @@ edition = "2018"
[dependencies]
actix = "0.7"
tokio = "*"
futures = "*"
bytes = "*"
tokio = "0.1"
futures = "0.1"
bytes = "0.4"

View File

@ -1,8 +1,3 @@
extern crate actix;
extern crate bytes;
extern crate futures;
extern crate tokio;
use actix::{Actor, AsyncContext, Context, Message, StreamHandler};
use bytes::BytesMut;
use futures::stream::SplitSink;