Skip to content

Commit b1399f3

Browse files
authored
build: bump the semver version (#320)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
1 parent 9eced92 commit b1399f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ log = "0.4"
3030
prometheus = { version = "0.12", features = [ "push", "process" ], default-features = false }
3131
rand = "0.8"
3232
regex = "1"
33-
semver = "0.11"
33+
semver = "1.0"
3434
serde = "1.0"
3535
serde_derive = "1.0"
3636
slog = { version = "2.3", features = ["max_level_trace", "release_max_level_debug"] }

tikv-client-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ grpcio = { version = "0.9", features = [ "secure", "prost-codec", "use-bindgen"
1414
lazy_static = "1"
1515
log = "0.4"
1616
regex = "1"
17-
semver = "0.11"
17+
semver = "1"
1818
tikv-client-proto = { version = "0.1.0", path = "../tikv-client-proto" }
1919
tokio = "1"
2020

tikv-client-common/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub enum Error {
8080
#[error("Limit {} exceeds max scan limit {}", limit, max_limit)]
8181
MaxScanLimitExceeded { limit: u32, max_limit: u32 },
8282
#[error("Invalid Semver string: {0:?}")]
83-
InvalidSemver(#[from] semver::ReqParseError),
83+
InvalidSemver(#[from] semver::Error),
8484
/// A string error returned by TiKV server
8585
#[error("Kv error. {}", message)]
8686
KvError { message: String },

0 commit comments

Comments
 (0)