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:
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"] }
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user