1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

add run-in-thread example

This commit is contained in:
Nikolay Kim
2019-12-25 07:44:33 +04:00
parent 01b0d5fb21
commit a0812c9b29
3 changed files with 64 additions and 0 deletions

11
run-in-thread/Cargo.toml Normal file
View File

@ -0,0 +1,11 @@
[package]
name = "run-in-thread"
version = "2.0.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018"
description = "Run actix-web in separate thread"
[dependencies]
actix-web = "2.0.0-rc"
actix-rt = "1.0.0"
env_logger = "0.6"