mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
add ssl feature
This commit is contained in:
@ -5,7 +5,7 @@ authors = ["dowwie <dkcdkg@gmail.com>"]
|
||||
|
||||
[dependencies]
|
||||
actix = "0.7"
|
||||
actix-web = "0.7"
|
||||
actix-web = { version="0.7.3", features=["rust-tls"] }
|
||||
|
||||
futures = "0.1"
|
||||
serde = "1.0.43"
|
||||
|
@ -133,6 +133,7 @@ fn create_something_v2(
|
||||
}
|
||||
|
||||
fn main() {
|
||||
::std::env::set_var("RUST_LOG", "actix_web=info");
|
||||
env_logger::init();
|
||||
let sys = actix::System::new("asyncio_example");
|
||||
|
||||
|
Reference in New Issue
Block a user