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

part1: Update dependencies

This commit is contained in:
Yuki Okushi 2020-04-05 02:26:11 +09:00
parent 046604f286
commit 6cdc1c8738
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
10 changed files with 21 additions and 22 deletions

View File

@ -9,12 +9,12 @@ workspace = ".."
actix-rt = "1.0.0"
actix-web = "2.0.0"
env_logger = "0.6"
failure = "0.1.1"
env_logger = "0.7"
failure = "0.1.7"
futures = "0.3.1"
num_cpus = "1.10.0"
r2d2 = "0.8.2"
r2d2_sqlite = "0.10"
rusqlite = "0.18"
r2d2_sqlite = "0.14"
rusqlite = "0.21"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

View File

@ -9,9 +9,9 @@ workspace = ".."
actix-rt = "1.0.0"
actix-web = { version="2.0.0", features=["openssl"] }
env_logger = "0.7"
futures = "0.3.1"
serde = { version = "1.0.43", features = ["derive"] }
serde_json = "1.0.16"
validator = "0.6.3"
validator_derive = "0.6.5"
env_logger = "0.6"
validator = "0.10"
validator_derive = "0.10"

View File

@ -29,9 +29,9 @@ use validator_derive::Validate;
#[derive(Debug, Validate, Deserialize, Serialize)]
struct SomeData {
#[validate(length(min = "1", max = "1000000"))]
#[validate(length(min = 1, max = 1000000))]
id: String,
#[validate(length(min = "1", max = "100"))]
#[validate(length(min = 1, max = 100))]
name: String,
}

View File

@ -6,12 +6,11 @@ edition = "2018"
[dependencies]
actix-rt = "1.0.0"
actix-web = { version="2.0.0", features=["openssl"] }
actix-web = { version="2.0.0", features = ["openssl"] }
actix-service = "1.0.0"
bytes = "0.5.3"
env_logger = "0.6.1"
env_logger = "0.7"
futures = "0.3.1"
serde = { version = "^1.0", features = ["derive"] }
serde_derive = "1.0.90"
serde_json = "1.0.39"
time = "0.1.42"

View File

@ -13,5 +13,5 @@ actix-session = "0.3.0"
actix-utils = "1.0.3"
futures = "0.3.1"
env_logger = "0.5"
env_logger = "0.7"
bytes = "0.5"

View File

@ -8,5 +8,5 @@ workspace = ".."
[dependencies]
actix-web = "2.0"
actix-rt = "1.0"
casbin = "0.3"
loge = {version = "0.4", default-features = false, features = ["colored", "chrono"]}
casbin = "0.4"
loge = { version = "0.4", default-features = false, features = ["colored", "chrono"] }

View File

@ -9,4 +9,4 @@ workspace = ".."
actix-web = "2.0.0"
actix-identity = "0.2.0"
actix-rt = "1.0.0"
env_logger = "0.6"
env_logger = "0.7"

View File

@ -12,4 +12,4 @@ actix-rt = "1.0.0"
futures = "0.3.1"
time = "0.1"
env_logger = "0.6"
env_logger = "0.7"

View File

@ -10,5 +10,5 @@ actix-web = "2.0.0"
actix-rt = "1.0.0"
derive_more = "0.99.2"
futures = "0.3.1"
rand = "0.5.4"
env_logger = "0.6"
rand = "0.7"
env_logger = "0.7"

View File

@ -9,9 +9,9 @@ actix-rt = "1.0.0"
actix-web = "2.0.0"
futures = "0.3.1"
env_logger = "0.6"
env_logger = "0.7"
uuid = { version = "0.8", features = ["v4"] }
r2d2 = "0.8"
r2d2_sqlite = "0.10"
rusqlite = "0.18"
r2d2_sqlite = "0.14"
rusqlite = "0.21"