1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00

Merge pull request #287 from JohnTitor/bump-deps

part1: Update dependencies
This commit is contained in:
Yuki Okushi 2020-04-05 13:27:32 +09:00 committed by GitHub
commit b8620702fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 22 deletions

View File

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

View File

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

View File

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

View File

@ -9,9 +9,8 @@ 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" actix-service = "1.0.0"
bytes = "0.5.3" bytes = "0.5.3"
env_logger = "0.6.1" env_logger = "0.7"
futures = "0.3.1" futures = "0.3.1"
serde = { version = "^1.0", features = ["derive"] } serde = { version = "^1.0", features = ["derive"] }
serde_derive = "1.0.90"
serde_json = "1.0.39" serde_json = "1.0.39"
time = "0.1.42" time = "0.1.42"

View File

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

View File

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

View File

@ -9,4 +9,4 @@ workspace = ".."
actix-web = "2.0.0" actix-web = "2.0.0"
actix-identity = "0.2.0" actix-identity = "0.2.0"
actix-rt = "1.0.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" futures = "0.3.1"
time = "0.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" 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.7"
env_logger = "0.6" env_logger = "0.7"

View File

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