1
0
mirror of https://github.com/actix/examples synced 2024-11-23 14:31:07 +01:00

fix typo and update some deps (#390)

* chore: fix typo for `run-in-thread`

* chore: update some deps for examples
This commit is contained in:
yjh 2020-12-14 19:30:06 +08:00 committed by GitHub
parent 5c8749c2a2
commit 89d2e4e3f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
40 changed files with 267 additions and 328 deletions

511
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"
failure = "0.1.7"
futures = "0.3.1"
num_cpus = "1.13"

View File

@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
actix-web = { version = "3", features = ["openssl"] }
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3.1"
serde = { version = "1.0.43", features = ["derive"] }
serde_json = "1.0.16"

View File

@ -8,7 +8,7 @@ edition = "2018"
actix-web = { version = "3", features = ["openssl"] }
actix-service = "1.0.0"
bytes = "0.5.3"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3.1"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "1.0.39"

View File

@ -9,4 +9,4 @@ actix-web = "3"
actix-files = "0.3"
actix-session = "0.4"
actix-utils = "2"
env_logger = "0.7"
env_logger = "0.8"

View File

@ -6,5 +6,5 @@ edition = "2018"
[dependencies]
actix-web = "3"
casbin = "0.6.0"
casbin = "2"
loge = {version = "0.4", default-features = false, features = ["colored", "chrono"]}

View File

@ -7,5 +7,5 @@ edition = "2018"
[dependencies]
actix-web = "3"
actix-identity = "0.3"
env_logger = "0.7"
env_logger = "0.8"
rand = "0.7"

View File

@ -7,4 +7,4 @@ edition = "2018"
[dependencies]
actix-web = "3"
actix-session = "0.4"
env_logger = "0.7"
env_logger = "0.8"

View File

@ -11,7 +11,7 @@ edition = "2018"
actix-web = "3"
diesel = { version = "^1.1.0", features = ["sqlite", "r2d2"] }
dotenv = "0.15"
env_logger = "0.7"
env_logger = "0.8"
failure = "0.1.8"
futures = "0.3.1"
r2d2 = "0.8"

View File

@ -8,4 +8,4 @@ edition = "2018"
actix-web = "3"
derive_more = "0.99.2"
rand = "0.7"
env_logger = "0.7"
env_logger = "0.8"

View File

@ -6,7 +6,7 @@ edition = "2018"
[dependencies]
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"
[dev-dependencies]
actix-rt = "1"

View File

@ -6,5 +6,5 @@ edition = "2018"
[dependencies]
actix-web = { version = "3", features = ["openssl"] }
clap = "2.32.0"
clap = "2.33"
url = "2.0"

View File

@ -7,8 +7,8 @@ edition = "2018"
[dependencies]
actix-web = "3"
actix-service = "1.0.0"
futures = "0.3.1"
env_logger = "0.7"
futures = "0.3"
env_logger = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
json = "0.12"

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
actix-web = "3"
bytes = "0.5"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3.1"
log = "0.4"
serde = { version = "1.0", features = ["derive"] }

View File

@ -16,7 +16,7 @@ r2d2 = "0.8"
r2d2_mysql = "17.0"
dotenv = "0.15"
env_logger = "0.7"
env_logger = "0.8"
log = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
actix-web = "3"
actix-cors = "0.4.0"
env_logger = "0.7.1"
env_logger = "0.8"
serde = "1.0.103"
serde_json = "1.0.44"
serde_derive = "1.0.103"

View File

@ -8,6 +8,6 @@ edition = "2018"
actix-service = "1"
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3.1"
pin-project = "0.4"

View File

@ -12,6 +12,6 @@ readme = "README.md"
[dependencies]
actix-web = "3"
actix-multipart = "0.3"
futures = "0.3.1"
async-std = "1.4.0"
futures = "0.3.5"
async-std = "1.8.0"
sanitize-filename = "0.2"

View File

@ -6,5 +6,5 @@ edition = "2018"
[dependencies]
actix-web = { version = "3", features = ["openssl"] }
env_logger = "0.7"
env_logger = "0.8"
openssl = "0.10"

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"
uuid = { version = "0.8", features = ["v4"] }
r2d2 = "0.8"

View File

@ -8,7 +8,7 @@ edition = "2018"
actix-web = "3"
actix-session = "0.4"
actix-redis = "0.9"
env_logger = "0.7"
env_logger = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
actix-service = "1"

View File

@ -11,4 +11,4 @@ actix-redis = "0.9"
futures = "0.3"
redis-async = "0.6.3"
serde = { version = "1", features = ["derive"] }
env_logger = "0.7"
env_logger = "0.8"

View File

@ -7,4 +7,4 @@ description = "Run actix-web in separate thread"
[dependencies]
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"

View File

@ -42,7 +42,7 @@ fn main() {
let srv = rx.recv().unwrap();
println!("WATING 10 SECONDS");
println!("WAITING 10 SECONDS");
thread::sleep(time::Duration::from_secs(10));
println!("STOPPING SERVER");

View File

@ -9,7 +9,7 @@ name = "rustls-server"
path = "src/main.rs"
[dependencies]
env_logger = "0.7"
env_logger = "0.8"
rustls = "0.18"
actix-web = { version = "3", features = ["rustls"] }
actix-files = "0.3"

View File

@ -6,6 +6,6 @@ edition = "2018"
[dependencies]
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3.1"
tokio = { version = "0.2", features = ["sync"] }

View File

@ -7,6 +7,6 @@ description = "Send a request to the server to shut it down"
[dependencies]
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3"
tokio = { version = "0.2", features = ["signal"] }

View File

@ -13,7 +13,7 @@ chrono = { version = "0.4.6", features = ["serde"] }
derive_more = "0.99.0"
diesel = { version = "1.4.5", features = ["postgres", "uuidv07", "r2d2", "chrono"] }
dotenv = "0.15"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3.1"
r2d2 = "0.8"
rust-argon2 = "0.8"

View File

@ -6,4 +6,4 @@ edition = "2018"
[dependencies]
actix-web = "3"
env_logger = "0.7"
env_logger = "0.8"

View File

@ -7,4 +7,4 @@ edition = "2018"
[dependencies]
actix-web = "3"
actix-files = "0.3"
env_logger = "0.7"
env_logger = "0.8"

View File

@ -5,7 +5,7 @@ authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
edition = "2018"
[dependencies]
env_logger = "0.7"
env_logger = "0.8"
tera = "1.0"
actix-http = "2"
actix-web = "3"

View File

@ -5,7 +5,7 @@ authors = ["Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>"]
edition = "2018"
[dependencies]
env_logger = "0.7"
env_logger = "0.8"
tinytemplate = "1.1"
actix-http = "2"
actix-web = "3"

View File

@ -7,8 +7,8 @@ edition = "2018"
[dependencies]
actix-web = "3"
env_logger = "0.7"
yarte = { version = "0.8", features = ["html-min"] }
env_logger = "0.8"
yarte = { version = "0.13", features = ["html-min"] }
[build-dependencies.yarte_helpers]
version = "0.8"

View File

@ -10,7 +10,7 @@ actix-files = "0.3"
actix-session = "0.4"
dotenv = "0.15"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3.1"
log = "0.4.3"
serde = { version = "1.0.69", features = ["derive"] }

View File

@ -5,5 +5,5 @@ authors = ["Messense Lv <messense@icloud.com>"]
edition = "2018"
[dependencies]
env_logger = "0.7"
env_logger = "0.8"
actix-web = "3"

View File

@ -12,4 +12,4 @@ path = "src/main.rs"
actix = "0.10"
actix-web = "3"
actix-web-actors = "3"
env_logger = "0.7"
env_logger = "0.8"

View File

@ -18,7 +18,7 @@ actix-files = "0.4"
actix-rt = "1"
actix-web = "3"
actix-web-actors = "3"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3"
log = "0.4"
rand = "0.7"

View File

@ -18,6 +18,6 @@ rand = "0.7"
bytes = "0.5"
byteorder = "1.3"
futures = "0.3"
env_logger = "0.7"
env_logger = "0.8"
serde = "1"
serde_json = "1"

View File

@ -23,7 +23,7 @@ rand = "0.7"
bytes = "0.5.3"
byteorder = "1.2"
futures = "0.3"
env_logger = "0.7"
env_logger = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = "0.2.4"

View File

@ -19,6 +19,6 @@ actix-web = "3"
actix-web-actors = "3"
actix-files = "0.3"
awc = "2"
env_logger = "0.7"
env_logger = "0.8"
futures = "0.3.1"
bytes = "0.5.3"