1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

bump to rc.1

This commit is contained in:
Rob Ede
2022-02-02 00:44:58 +00:00
parent 61fc66c5e5
commit c960da6bdb
25 changed files with 122 additions and 369 deletions

View File

@ -35,6 +35,7 @@ struct SomeData {
name: String,
}
#[allow(dead_code)] // it is debug printed
#[derive(Debug, Deserialize)]
struct HttpBinResponse {
args: HashMap<String, String>,
@ -64,6 +65,9 @@ async fn step_x(data: SomeData, client: &Client) -> Result<SomeData, Error> {
}
let body: HttpBinResponse = serde_json::from_slice(&body).unwrap();
println!("{:?}", body);
Ok(body.json)
}

View File

@ -5,6 +5,6 @@ authors = ["Eric McCarthy <ericmccarthy7@gmail.com>"]
edition = "2018"
[dependencies]
actix-web = "4.0.0-beta.21"
actix-web = "4.0.0-rc.1"
log = "0.4"
env_logger = "0.9"

View File

@ -5,7 +5,7 @@ authors = ["Gorm Casper <gcasper@gmail.com>", "Sven-Hendrik Haase <svenstaro@gma
edition = "2018"
[dependencies]
actix-web = "4.0.0-beta.21"
actix-web = "4.0.0-rc.1"
env_logger = "0.9"
futures = "0.3.7"
pin-project = "1"

View File

@ -6,7 +6,7 @@ edition = "2018"
description = "Send a request to the server to shut it down"
[dependencies]
actix-web = "4.0.0-beta.21"
actix-web = "4.0.0-rc.1"
env_logger = "0.9"
futures = "0.3"
tokio = { version = "1.16", features = ["signal"] }

View File

@ -5,5 +5,5 @@ authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2021"
[dependencies]
actix-web = "4.0.0-beta.21"
actix-web = "4.0.0-rc.1"
env_logger = "0.9.0"

View File

@ -5,6 +5,6 @@ authors = ["Jose Marinez <digeratus@gmail.com>"]
edition = "2018"
[dependencies]
actix-web = "4.0.0-beta.21"
actix-web = "4.0.0-rc.1"
actix-files = "0.6.0-beta.15"
env_logger = "0.9.0"