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

update deps

This commit is contained in:
Nikolay Kim 2019-12-15 23:07:17 +06:00
parent e166c66f0b
commit 22c7d747c2
31 changed files with 64 additions and 66 deletions

View File

@ -6,8 +6,8 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
dotenv = "0.10" dotenv = "0.10"
env_logger = "0.6" env_logger = "0.6"

View File

@ -6,8 +6,8 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = { version="2.0.0-alpha.3", features=["openssl"] } actix-web = { version="2.0.0-alpha.6", features=["openssl"] }
futures = "0.3.1" futures = "0.3.1"
serde = "1.0.43" serde = "1.0.43"

View File

@ -6,10 +6,10 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = { version="2.0.0-alpha.3", features=["openssl"] } actix-web = { version="2.0.0-alpha.6", features=["openssl"] }
actix-multipart = "0.2.0-alpha.2" actix-multipart = "0.2.0-alpha.2"
actix-service = "1.0.0-alpha.3" actix-service = "1.0.0"
bytes = "0.5.2" bytes = "0.5.2"
env_logger = "0.6.1" env_logger = "0.6.1"
futures = "0.3.1" futures = "0.3.1"

View File

@ -6,11 +6,11 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-files = "0.2.0-alpha.3" actix-files = "0.2.0-alpha.3"
actix-session = "0.3.0-alpha.3" actix-session = "0.3.0-alpha.3"
actix-utils = "1.0.0-alpha.3" actix-utils = "1.0.3"
futures = "0.3.1" futures = "0.3.1"
env_logger = "0.5" env_logger = "0.5"

View File

@ -6,7 +6,7 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-identity = "0.2.0-alpha.1" actix-identity = "0.2.0-alpha.1"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
env_logger = "0.6" env_logger = "0.6"

View File

@ -6,9 +6,9 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-session = "0.3.0-alpha.3" actix-session = "0.3.0-alpha.3"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
futures = "0.3.1" futures = "0.3.1"
time = "0.1" time = "0.1"

View File

@ -6,8 +6,8 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
bytes = "0.4" bytes = "0.4"
env_logger = "0.6" env_logger = "0.6"

View File

@ -10,11 +10,9 @@ extern crate diesel;
extern crate serde_derive; extern crate serde_derive;
use actix_web::{error, middleware, web, App, Error, HttpResponse, HttpServer}; use actix_web::{error, middleware, web, App, Error, HttpResponse, HttpServer};
use bytes::BytesMut;
use diesel::prelude::*; use diesel::prelude::*;
use diesel::r2d2::{self, ConnectionManager}; use diesel::r2d2::{self, ConnectionManager};
use dotenv; use dotenv;
use futures::StreamExt;
mod models; mod models;
mod schema; mod schema;

View File

@ -6,8 +6,8 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
derive_more = "0.99.2" derive_more = "0.99.2"
futures = "0.3.1" futures = "0.3.1"
rand = "0.5.4" rand = "0.5.4"

View File

@ -6,7 +6,7 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
serde = "1.0" serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"

View File

@ -8,8 +8,8 @@ workspace = ".."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
futures = "0.3.1" futures = "0.3.1"
juniper = "0.13" juniper = "0.13"

View File

@ -6,6 +6,6 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
env_logger = "0.6" env_logger = "0.6"

View File

@ -6,8 +6,8 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = { version = "2.0.0-alpha.3", features=["openssl"] } actix-web = { version = "2.0.0-alpha.6", features=["openssl"] }
clap = "2.32.0" clap = "2.32.0"
futures = "0.3.1" futures = "0.3.1"
failure = "0.1.3" failure = "0.1.3"

View File

@ -6,9 +6,9 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.4" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-service = "1.0.0-alpha.4" actix-service = "1.0.0"
bytes = "0.5.2" bytes = "0.5.2"
futures = "0.3.1" futures = "0.3.1"

View File

@ -5,8 +5,8 @@ authors = ["Kai Yao <kai.b.yao@gmail.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
failure = "0.1" failure = "0.1"
futures = "0.3" futures = "0.3"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }

View File

@ -6,8 +6,8 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
bytes = "0.5" bytes = "0.5"
env_logger = "0.6" env_logger = "0.6"
futures = "0.3.1" futures = "0.3.1"

View File

@ -6,8 +6,8 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
env_logger = "0.7.1" env_logger = "0.7.1"
serde = "1.0.103" serde = "1.0.103"
serde_json = "1.0.44" serde_json = "1.0.44"

View File

@ -6,9 +6,9 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-service = "1.0.0-alpha.3" actix-service = "1.0.0"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
futures = "0.3.1" futures = "0.3.1"
env_logger = "0.6" env_logger = "0.6"
bytes = "0.5" bytes = "0.5"

View File

@ -12,5 +12,5 @@ readme = "README.md"
[dependencies] [dependencies]
futures = "0.3.1" futures = "0.3.1"
actix-multipart = "0.2.0-alpha.3" actix-multipart = "0.2.0-alpha.3"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"

View File

@ -6,7 +6,7 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = { version="2.0.0-alpha.3", features=["openssl"] } actix-web = { version="2.0.0-alpha.6", features=["openssl"] }
env_logger = "0.6" env_logger = "0.6"
openssl = "0.10" openssl = "0.10"

View File

@ -6,8 +6,8 @@ edition = "2018"
workspace = ".." workspace = ".."
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
futures = "0.3.1" futures = "0.3.1"
env_logger = "0.6" env_logger = "0.6"

View File

@ -12,6 +12,6 @@ path = "src/main.rs"
[dependencies] [dependencies]
env_logger = "0.5" env_logger = "0.5"
rustls = "0.16" rustls = "0.16"
actix-web = { version = "2.0.0-alpha.3", features=["rustls"] } actix-web = { version = "2.0.0-alpha.6", features=["rustls"] }
actix-files = "0.2.0-alpha.3" actix-files = "0.2.0-alpha.3"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"

View File

@ -6,8 +6,8 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
env_logger = "0.6" env_logger = "0.6"
futures = "0.3.1" futures = "0.3.1"
tokio = "0.2" tokio = "0.2"

View File

@ -7,8 +7,8 @@ workspace = ".."
[dependencies] [dependencies]
actix-identity = "0.2.0-alpha.1" actix-identity = "0.2.0-alpha.1"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
argonautica = "0.2.0" argonautica = "0.2.0"
chrono = { version = "0.4.6", features = ["serde"] } chrono = { version = "0.4.6", features = ["serde"] }
derive_more = "0.99.0" derive_more = "0.99.0"

View File

@ -6,7 +6,7 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
futures = "0.3.1" futures = "0.3.1"
env_logger = "0.6" env_logger = "0.6"

View File

@ -9,6 +9,6 @@ edition = "2018"
futures = "0.3.1" futures = "0.3.1"
env_logger = "0.6" env_logger = "0.6"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-files = "0.2.0-alpha.3" actix-files = "0.2.0-alpha.3"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"

View File

@ -6,8 +6,8 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
env_logger = "0.6" env_logger = "0.6"
askama = "0.8" askama = "0.8"

View File

@ -5,7 +5,7 @@ authors = ["Alexandru Tiniuc <tiniuc.alexandru@gmail.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
handlebars = "2.0.0-beta.2" handlebars = "2.0.0-beta.2"
serde_json = "1.0" serde_json = "1.0"

View File

@ -8,5 +8,5 @@ edition = "2018"
[dependencies] [dependencies]
env_logger = "0.6" env_logger = "0.6"
tera = "0.11" tera = "0.11"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"

View File

@ -6,10 +6,10 @@ workspace = ".."
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-files = "0.2.0-alpha.3" actix-files = "0.2.0-alpha.3"
actix-session = "0.3.0-alpha.3" actix-session = "0.3.0-alpha.3"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"
dotenv = "0.13.0" dotenv = "0.13.0"
env_logger = "0.5.10" env_logger = "0.5.10"
futures = "0.3.1" futures = "0.3.1"

View File

@ -7,5 +7,5 @@ edition = "2018"
[dependencies] [dependencies]
env_logger = "0.6" env_logger = "0.6"
actix-web = "2.0.0-alpha.3" actix-web = "2.0.0-alpha.6"
actix-rt = "1.0.0-alpha.3" actix-rt = "1.0.0"