From 9f1bfea3d42cd731c61410e8c5c2bf121b96c5d4 Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Fri, 21 Jul 2023 08:52:55 +0000 Subject: [PATCH] Bump deps to let vulnerable transitive deps to disappear --- Cargo.toml | 12 ++++++------ README.md | 2 +- mock-tikv/Cargo.toml | 2 +- tikv-client-common/Cargo.toml | 6 +++--- tikv-client-pd/Cargo.toml | 8 ++++---- tikv-client-proto/Cargo.toml | 10 +++++----- tikv-client-store/Cargo.toml | 8 ++++---- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 89649359..fb7d0b30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "surrealdb-tikv-client" -version = "0.1.0-surreal.1" +version = "0.1.0-surreal.2" keywords = ["TiKV", "KV", "distributed-systems"] license = "Apache-2.0" authors = ["The TiKV Project Authors"] @@ -23,7 +23,7 @@ derive-new = "0.5" fail = "0.4" futures = { version = "0.3", features = ["async-await", "thread-pool"] } futures-timer = "3.0" -grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen", "openssl-vendored" ], default-features = false } +grpcio = { version = "0.10", features = [ "boringssl", "prost-codec", "openssl-vendored" ], default-features = false } lazy_static = "1" log = "0.4" prometheus = { version = "0.12", features = [ "push", "process" ], default-features = false } @@ -34,10 +34,10 @@ serde_derive = "1.0" thiserror = "1" tokio = { version = "1.0", features = [ "sync", "time" ] } -surrealdb-tikv-client-common = { version = "0.1.0-surreal.1", path = "tikv-client-common" } -surrealdb-tikv-client-pd = { version = "0.1.0-surreal.1", path = "tikv-client-pd" } -surrealdb-tikv-client-proto = { version = "0.1.0-surreal.1", path = "tikv-client-proto" } -surrealdb-tikv-client-store = { version = "0.1.0-surreal.1", path = "tikv-client-store" } +surrealdb-tikv-client-common = { version = "0.1.0-surreal.2", path = "tikv-client-common" } +surrealdb-tikv-client-pd = { version = "0.1.0-surreal.2", path = "tikv-client-pd" } +surrealdb-tikv-client-proto = { version = "0.1.0-surreal.2", path = "tikv-client-proto" } +surrealdb-tikv-client-store = { version = "0.1.0-surreal.2", path = "tikv-client-store" } [dev-dependencies] diff --git a/README.md b/README.md index 0b97dc8e..1eecf619 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The TiKV client is a Rust library (crate). To use this crate in your project, ad ```toml [dependencies] -tikv-client = "0.1.0-surreal.1" +tikv-client = "0.1.0-surreal.2" ``` The minimum supported version of Rust is 1.40. The minimum supported version of TiKV is 5.0. diff --git a/mock-tikv/Cargo.toml b/mock-tikv/Cargo.toml index 5c6ccfa0..31afd588 100644 --- a/mock-tikv/Cargo.toml +++ b/mock-tikv/Cargo.toml @@ -6,6 +6,6 @@ edition = "2018" [dependencies] derive-new = "0.5" futures = "0.3" -grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen" ], default-features = false } +grpcio = { version = "0.10", features = [ "boringssl", "prost-codec" ], default-features = false } log = "0.4" surrealdb-tikv-client-proto = { path = "../tikv-client-proto"} diff --git a/tikv-client-common/Cargo.toml b/tikv-client-common/Cargo.toml index eaf23999..08caf8ce 100644 --- a/tikv-client-common/Cargo.toml +++ b/tikv-client-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "surrealdb-tikv-client-common" -version = "0.1.0-surreal.1" +version = "0.1.0-surreal.2" edition = "2018" license = "Apache-2.0" authors = ["The TiKV Project Authors"] @@ -10,11 +10,11 @@ description = "Common components of the TiKV Rust client" [dependencies] thiserror = "1" futures = { version = "0.3", features = ["compat", "async-await", "thread-pool"] } -grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen" ], default-features = false } +grpcio = { version = "0.10", features = [ "boringssl", "prost-codec" ], default-features = false } lazy_static = "1" log = "0.4" regex = "1" -surrealdb-tikv-client-proto = { version = "0.1.0-surreal.1", path = "../tikv-client-proto" } +surrealdb-tikv-client-proto = { version = "0.1.0-surreal.2", path = "../tikv-client-proto" } [dev-dependencies] clap = "2" diff --git a/tikv-client-pd/Cargo.toml b/tikv-client-pd/Cargo.toml index db2853eb..fd9c146b 100644 --- a/tikv-client-pd/Cargo.toml +++ b/tikv-client-pd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "surrealdb-tikv-client-pd" -version = "0.1.0-surreal.1" +version = "0.1.0-surreal.2" edition = "2018" license = "Apache-2.0" authors = ["The TiKV Project Authors"] @@ -10,10 +10,10 @@ description = "Low level PD components for the TiKV Rust client" [dependencies] async-trait = "0.1" futures = { version = "0.3", features = ["compat", "async-await", "thread-pool"] } -grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen" ], default-features = false } +grpcio = { version = "0.10", features = [ "boringssl", "prost-codec" ], default-features = false } log = "0.4" -surrealdb-tikv-client-common = { version = "0.1.0-surreal.1", path = "../tikv-client-common" } -surrealdb-tikv-client-proto = { version = "0.1.0-surreal.1", path = "../tikv-client-proto" } +surrealdb-tikv-client-common = { version = "0.1.0-surreal.2", path = "../tikv-client-common" } +surrealdb-tikv-client-proto = { version = "0.1.0-surreal.2", path = "../tikv-client-proto" } [dev-dependencies] clap = "2" diff --git a/tikv-client-proto/Cargo.toml b/tikv-client-proto/Cargo.toml index dfc1e6db..10d2fa2a 100644 --- a/tikv-client-proto/Cargo.toml +++ b/tikv-client-proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "surrealdb-tikv-client-proto" -version = "0.1.0-surreal.1" +version = "0.1.0-surreal.2" edition = "2018" license = "Apache-2.0" authors = ["The TiKV Project Authors"] @@ -9,12 +9,12 @@ description = "Protobuf specs for the TiKV Rust client" build = "build.rs" [build-dependencies] -protobuf-build = { version = "0.12", default-features = false, features = ["grpcio-prost-codec"] } +protobuf-build = { version = "0.14", default-features = false, features = ["grpcio-prost-codec"] } [dependencies] protobuf = "2.8" -prost = { version = "0.7" } -prost-derive = { version = "0.7" } +prost = { version = "0.9" } +prost-derive = { version = "0.9" } futures = "0.3" -grpcio = { version = "0.8", default-features = false, features = ["secure", "prost-codec", "use-bindgen"] } +grpcio = { version = "0.10", default-features = false, features = ["boringssl", "prost-codec"] } lazy_static = { version = "1" } diff --git a/tikv-client-store/Cargo.toml b/tikv-client-store/Cargo.toml index 9ac5c793..2ce7ac32 100644 --- a/tikv-client-store/Cargo.toml +++ b/tikv-client-store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "surrealdb-tikv-client-store" -version = "0.1.0-surreal.1" +version = "0.1.0-surreal.2" edition = "2018" license = "Apache-2.0" authors = ["The TiKV Project Authors"] @@ -11,7 +11,7 @@ description = "Low level TiKV node components of the TiKV Rust client" async-trait = "0.1" derive-new = "0.5" futures = { version = "0.3", features = ["compat", "async-await", "thread-pool"] } -grpcio = { version = "0.8", features = ["secure", "prost-codec", "use-bindgen"], default-features = false } +grpcio = { version = "0.10", features = ["boringssl", "prost-codec"], default-features = false } log = "0.4" -surrealdb-tikv-client-common = { version = "0.1.0-surreal.1", path = "../tikv-client-common" } -surrealdb-tikv-client-proto = { version = "0.1.0-surreal.1", path = "../tikv-client-proto" } +surrealdb-tikv-client-common = { version = "0.1.0-surreal.2", path = "../tikv-client-common" } +surrealdb-tikv-client-proto = { version = "0.1.0-surreal.2", path = "../tikv-client-proto" }