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:
commit
b8620702fa
@ -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"
|
||||||
|
@ -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"
|
|
||||||
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"] }
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user