1
0
mirror of https://github.com/actix/examples synced 2025-09-02 20:06:37 +02:00

improve awc_http example

This commit is contained in:
Rob Ede
2022-02-02 01:17:10 +00:00
parent 3cd842fbd5
commit 9aef457a78
4 changed files with 124 additions and 39 deletions

49
Cargo.lock generated
View File

@@ -564,6 +564,7 @@ dependencies = [
"actix-service 2.0.2",
"actix-utils 3.0.0",
"futures-core",
"http",
"log",
"openssl",
"pin-project-lite 0.2.8",
@@ -638,7 +639,7 @@ dependencies = [
"actix-tls 2.0.0",
"actix-utils 2.0.0",
"actix-web-codegen 0.4.0",
"awc",
"awc 2.0.3",
"bytes 0.5.6",
"derive_more",
"encoding_rs",
@@ -1227,6 +1228,41 @@ dependencies = [
"serde_urlencoded",
]
[[package]]
name = "awc"
version = "3.0.0-beta.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a64a95bbf4905fd057ea45b70fdfeeb9c7ae09f03f091642c4e66a16ebb3ad5"
dependencies = [
"actix-codec 0.4.2",
"actix-http 3.0.0-rc.1",
"actix-rt 2.6.0",
"actix-service 2.0.2",
"actix-tls 3.0.2",
"actix-utils 3.0.0",
"ahash",
"base64 0.13.0",
"bytes 1.1.0",
"cfg-if 1.0.0",
"cookie 0.16.0",
"derive_more",
"futures-core",
"futures-util",
"h2 0.3.11",
"http",
"itoa 1.0.1",
"log",
"mime",
"percent-encoding",
"pin-project-lite 0.2.8",
"rand 0.8.4",
"rustls 0.20.2",
"serde 1.0.136",
"serde_json",
"serde_urlencoded",
"tokio 1.16.1",
]
[[package]]
name = "awc_examples"
version = "2.0.0"
@@ -1244,8 +1280,13 @@ dependencies = [
name = "awc_https"
version = "0.1.0"
dependencies = [
"actix-web 3.3.3",
"openssl",
"actix-web 4.0.0-rc.1",
"awc 3.0.0-beta.20",
"env_logger 0.9.0",
"log",
"mime",
"rustls 0.20.2",
"webpki-roots 0.22.2",
]
[[package]]
@@ -6758,7 +6799,7 @@ dependencies = [
"actix-files 0.3.0",
"actix-web 3.3.3",
"actix-web-actors",
"awc",
"awc 2.0.3",
"bytes 0.5.6",
"env_logger 0.8.4",
"futures",