WebSockets and tokio working

This commit is contained in:
2021-06-04 15:22:55 +02:00
parent 1427443caf
commit a96cbdc059
18 changed files with 542 additions and 2007 deletions

View File

@ -7,14 +7,20 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rusty_pool = "0.6.0"
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
futures = "0.3"
tokio-tls = "0.3.1"
rustls = "0.19.1"
tokio-rustls = "0.22.0"
futures-util = "0.3.15"
async-stream = "0.3.2"
hyper-tungstenite = "0.3.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.64"
openssl = {version = "0.10", features = ["vendored"]}
chrono = "0.4"
flate2 = "1.0.0"
r2d2 = "0.8.9"
r2d2_postgres = "0.18.0"
bb8 = "0.7.0"
bb8-postgres = "0.7.0"
ansi_term = "0.12"
rust-crypto = "^0.2"
base64 = "0.13.0"