Restructure repo

This commit is contained in:
asonix 2020-04-25 13:19:09 -05:00
parent 79ebc38cba
commit e899ca2d12
9 changed files with 31 additions and 1769 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/target
**/target
Cargo.lock

28
Cargo.lock generated
View file

@ -477,6 +477,20 @@ version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "chat"
version = "0.1.0"
dependencies = [
"actix-rt",
"actix-web",
"actix-ws",
"anyhow",
"futures",
"log",
"pretty_env_logger",
"tokio",
]
[[package]]
name = "cloudabi"
version = "0.0.3"
@ -1793,20 +1807,6 @@ dependencies = [
"winapi 0.3.8",
]
[[package]]
name = "ws-testing"
version = "0.1.0"
dependencies = [
"actix-rt",
"actix-web",
"actix-ws",
"anyhow",
"futures",
"log",
"pretty_env_logger",
"tokio",
]
[[package]]
name = "ws2_32-sys"
version = "0.2.1"

View file

@ -1,17 +1,23 @@
[package]
name = "ws-testing"
name = "actix-ws"
version = "0.1.0"
authors = ["asonix <asonix@asonix.dog>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [
"examples/chat"
]
[dependencies]
actix-http = "2.0.0-alpha.2"
actix-rt = "1.1.0"
actix-web = "3.0.0-alpha.1"
actix-ws = { version = "0.1", path = "./actix-ws" }
anyhow = "1.0"
bytes = "0.5"
futures = "0.3"
log = "0.4"
pretty_env_logger = "0.4"
tokio = { version = "0.2", features = ["sync"] }
pin-project = "0.4.9"
thiserror = "1.0"
tokio = { version = "0.2", features = ["sync", "stream", "io-util"] }
tokio-util = { version = "0.2", features = ["codec"] }

1743
actix-ws/Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
[package]
name = "actix-ws"
name = "chat"
version = "0.1.0"
authors = ["asonix <asonix@asonix.dog>"]
edition = "2018"
@ -7,13 +7,11 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-http = "2.0.0-alpha.2"
actix-rt = "1.1.0"
actix-web = "3.0.0-alpha.1"
actix-ws = { version = "0.1", path = "../.." }
anyhow = "1.0"
bytes = "0.5"
futures = "0.3"
pin-project = "0.4.9"
thiserror = "1.0"
tokio = { version = "0.2", features = ["sync", "stream", "io-util"] }
tokio-util = { version = "0.2", features = ["codec"] }
log = "0.4"
pretty_env_logger = "0.4"
tokio = { version = "0.2", features = ["sync"] }