1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00

add ssl feature

This commit is contained in:
Nikolay Kim 2018-08-02 09:30:06 -07:00
parent cfb980642b
commit ba3cf13c72
3 changed files with 385 additions and 192 deletions

574
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -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"

View File

@ -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");