mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
update deps
This commit is contained in:
@ -7,7 +7,7 @@ workspace = ".."
|
||||
|
||||
[dependencies]
|
||||
actix-rt = "1.0.0"
|
||||
actix-web = { version="2.0.0-rc", features=["openssl"] }
|
||||
actix-web = { version="2.0.0", features=["openssl"] }
|
||||
|
||||
futures = "0.3.1"
|
||||
serde = "1.0.43"
|
||||
|
@ -95,6 +95,6 @@ async fn main() -> io::Result<()> {
|
||||
.service(web::resource("/something").route(web::post().to(create_something)))
|
||||
})
|
||||
.bind(endpoint)?
|
||||
.start()
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
Reference in New Issue
Block a user