mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
update deps
This commit is contained in:
@ -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"
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user