diff --git a/Cargo.toml b/Cargo.toml index 4b4b6ec..a0bc95e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,12 +20,12 @@ name = "tikv_client" [dependencies] async-trait = "0.1" derive-new = "0.5" -futures = { version = "0.3.5", features = ["async-await", "thread-pool"] } +futures = { version = "0.3", features = ["async-await", "thread-pool"] } futures-timer = "3.0" grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen" ], default-features = false } lazy_static = "1" log = "0.4" -prometheus = { version = "0.11", features = [ "push", "process" ], default-features = false } +prometheus = { version = "0.12", features = [ "push", "process" ], default-features = false } rand = "0.8" regex = "1" serde = "1.0" @@ -37,16 +37,16 @@ tikv-client-common = { path = "tikv-client-common" } tikv-client-pd = { path = "tikv-client-pd" } tikv-client-proto = { path = "tikv-client-proto" } tikv-client-store = { path = "tikv-client-store" } -mock-tikv = {path = "mock-tikv"} [dev-dependencies] -clap = "2.32" +clap = "2" fail = { version = "0.4", features = [ "failpoints" ] } -proptest = "0.10" -proptest-derive = "0.2" +mock-tikv = {path = "mock-tikv"} +proptest = "1" +proptest-derive = "0.3" serial_test = "0.5.0" -simple_logger = "1.9.0" +simple_logger = "1" tokio = { version = "1.0", features = [ "sync", "rt-multi-thread", "macros" ] } [workspace] diff --git a/mock-tikv/Cargo.toml b/mock-tikv/Cargo.toml index 047794e..ef9f015 100644 --- a/mock-tikv/Cargo.toml +++ b/mock-tikv/Cargo.toml @@ -4,8 +4,8 @@ version = "0.0.0" edition = "2018" [dependencies] -derive-new = "0.5.8" -futures = "0.3.5" +derive-new = "0.5" +futures = "0.3" grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen" ], default-features = false } log = "0.4" tikv-client-proto = { path = "../tikv-client-proto"} diff --git a/tikv-client-common/Cargo.toml b/tikv-client-common/Cargo.toml index 2eedd2a..285e24c 100644 --- a/tikv-client-common/Cargo.toml +++ b/tikv-client-common/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] thiserror = "1" -futures = { version = "0.3.5", features = ["compat", "async-await", "thread-pool"] } +futures = { version = "0.3", features = ["compat", "async-await", "thread-pool"] } grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen" ], default-features = false } lazy_static = "1" log = "0.4" @@ -14,9 +14,9 @@ regex = "1" tikv-client-proto = { path = "../tikv-client-proto" } [dev-dependencies] -clap = "2.32" +clap = "2" fail = { version = "0.4", features = [ "failpoints" ] } -proptest = "0.10" -proptest-derive = "0.2" +proptest = "1" +proptest-derive = "0.3" tempfile = "3" tokio = "1.0" diff --git a/tikv-client-pd/Cargo.toml b/tikv-client-pd/Cargo.toml index 17b3798..4619201 100644 --- a/tikv-client-pd/Cargo.toml +++ b/tikv-client-pd/Cargo.toml @@ -5,14 +5,14 @@ edition = "2018" [dependencies] async-trait = "0.1" -futures = { version = "0.3.5", features = ["compat", "async-await", "thread-pool"] } +futures = { version = "0.3", features = ["compat", "async-await", "thread-pool"] } grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen" ], default-features = false } log = "0.4" tikv-client-common = { path = "../tikv-client-common" } tikv-client-proto = { path = "../tikv-client-proto" } [dev-dependencies] -clap = "2.32" +clap = "2" fail = { version = "0.4", features = [ "failpoints" ] } -proptest = "0.10" -proptest-derive = "0.2" +proptest = "1" +proptest-derive = "0.3" diff --git a/tikv-client-proto/Cargo.toml b/tikv-client-proto/Cargo.toml index 070db05..e6cab57 100644 --- a/tikv-client-proto/Cargo.toml +++ b/tikv-client-proto/Cargo.toml @@ -8,9 +8,9 @@ build = "build.rs" protobuf-build = { version = "0.12", default-features = false, features = ["grpcio-prost-codec"] } [dependencies] -protobuf = "=2.8.0" +protobuf = "2.8" prost = { version = "0.7" } prost-derive = { version = "0.7" } -futures = "0.3.5" +futures = "0.3" grpcio = { version = "0.8", default-features = false, features = ["secure", "prost-codec", "use-bindgen"] } -lazy_static = { version = "1.3" } +lazy_static = { version = "1" } diff --git a/tikv-client-store/Cargo.toml b/tikv-client-store/Cargo.toml index db26090..5d7de4f 100644 --- a/tikv-client-store/Cargo.toml +++ b/tikv-client-store/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] async-trait = "0.1" derive-new = "0.5" -futures = { version = "0.3.5", features = ["compat", "async-await", "thread-pool"] } +futures = { version = "0.3", features = ["compat", "async-await", "thread-pool"] } grpcio = { version = "0.8", features = ["secure", "prost-codec", "use-bindgen"], default-features = false } log = "0.4" tikv-client-common = { path = "../tikv-client-common" }