Restructure repo
This commit is contained in:
parent
79ebc38cba
commit
e899ca2d12
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
/target
|
/target
|
||||||
**/target
|
**/target
|
||||||
|
Cargo.lock
|
||||||
|
|
28
Cargo.lock
generated
28
Cargo.lock
generated
|
@ -477,6 +477,20 @@ version = "0.1.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "chat"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"actix-rt",
|
||||||
|
"actix-web",
|
||||||
|
"actix-ws",
|
||||||
|
"anyhow",
|
||||||
|
"futures",
|
||||||
|
"log",
|
||||||
|
"pretty_env_logger",
|
||||||
|
"tokio",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cloudabi"
|
name = "cloudabi"
|
||||||
version = "0.0.3"
|
version = "0.0.3"
|
||||||
|
@ -1793,20 +1807,6 @@ dependencies = [
|
||||||
"winapi 0.3.8",
|
"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]]
|
[[package]]
|
||||||
name = "ws2_32-sys"
|
name = "ws2_32-sys"
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
|
|
16
Cargo.toml
16
Cargo.toml
|
@ -1,17 +1,23 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ws-testing"
|
name = "actix-ws"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["asonix <asonix@asonix.dog>"]
|
authors = ["asonix <asonix@asonix.dog>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
[workspace]
|
||||||
|
members = [
|
||||||
|
"examples/chat"
|
||||||
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
actix-http = "2.0.0-alpha.2"
|
||||||
actix-rt = "1.1.0"
|
actix-rt = "1.1.0"
|
||||||
actix-web = "3.0.0-alpha.1"
|
actix-web = "3.0.0-alpha.1"
|
||||||
actix-ws = { version = "0.1", path = "./actix-ws" }
|
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
|
bytes = "0.5"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
log = "0.4"
|
pin-project = "0.4.9"
|
||||||
pretty_env_logger = "0.4"
|
thiserror = "1.0"
|
||||||
tokio = { version = "0.2", features = ["sync"] }
|
tokio = { version = "0.2", features = ["sync", "stream", "io-util"] }
|
||||||
|
tokio-util = { version = "0.2", features = ["codec"] }
|
||||||
|
|
1743
actix-ws/Cargo.lock
generated
1743
actix-ws/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "actix-ws"
|
name = "chat"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["asonix <asonix@asonix.dog>"]
|
authors = ["asonix <asonix@asonix.dog>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -7,13 +7,11 @@ edition = "2018"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-http = "2.0.0-alpha.2"
|
|
||||||
actix-rt = "1.1.0"
|
actix-rt = "1.1.0"
|
||||||
actix-web = "3.0.0-alpha.1"
|
actix-web = "3.0.0-alpha.1"
|
||||||
|
actix-ws = { version = "0.1", path = "../.." }
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
bytes = "0.5"
|
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
pin-project = "0.4.9"
|
log = "0.4"
|
||||||
thiserror = "1.0"
|
pretty_env_logger = "0.4"
|
||||||
tokio = { version = "0.2", features = ["sync", "stream", "io-util"] }
|
tokio = { version = "0.2", features = ["sync"] }
|
||||||
tokio-util = { version = "0.2", features = ["codec"] }
|
|
Loading…
Reference in a new issue