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

update deps

This commit is contained in:
Nikolay Kim
2019-12-25 20:48:33 +04:00
parent a0812c9b29
commit e8ab9ee7ca
76 changed files with 85 additions and 89 deletions

View File

@ -12,6 +12,6 @@ path = "src/main.rs"
[dependencies]
env_logger = "0.5"
rustls = "0.16"
actix-web = { version = "2.0.0-rc", features=["rustls"] }
actix-files = "0.2.0"
actix-web = { version = "2.0.0", features=["rustls"] }
actix-files = "0.2.1"
actix-rt = "1.0.0"

View File

@ -44,6 +44,6 @@ async fn main() -> std::io::Result<()> {
.service(Files::new("/static", "static"))
})
.bind_rustls("127.0.0.1:8443", config)?
.start()
.run()
.await
}