diff --git a/Cargo.lock b/Cargo.lock index 0665afb7f17c..2931e3a8ea3c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7339,8 +7339,9 @@ dependencies = [ [[package]] name = "raft-engine" -version = "0.4.0" -source = "git+https://github.com/tikv/raft-engine.git?rev=22dfb426cd994602b57725ef080287d3e53db479#22dfb426cd994602b57725ef080287d3e53db479" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3bc58d7f3a865d3224bad461e5fbe386b799b2b7eabea43e1da6f11ac725d83f" dependencies = [ "byteorder", "crc32fast", @@ -7362,7 +7363,6 @@ dependencies = [ "prometheus-static-metric", "protobuf", "rayon", - "rhai", "scopeguard", "serde", "serde_repr", @@ -7701,33 +7701,6 @@ dependencies = [ "bytemuck", ] -[[package]] -name = "rhai" -version = "1.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3625f343d89990133d013e39c46e350915178cf94f1bec9f49b0cbef98a3e3c" -dependencies = [ - "ahash 0.8.6", - "bitflags 2.4.1", - "instant", - "num-traits", - "once_cell", - "rhai_codegen", - "smallvec", - "smartstring", -] - -[[package]] -name = "rhai_codegen" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "853977598f084a492323fe2f7896b4100a86284ee8473612de60021ea341310f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.43", -] - [[package]] name = "ring" version = "0.16.20" @@ -9169,17 +9142,6 @@ dependencies = [ "serde", ] -[[package]] -name = "smartstring" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29" -dependencies = [ - "autocfg", - "static_assertions", - "version_check", -] - [[package]] name = "snafu" version = "0.7.5" diff --git a/Cargo.toml b/Cargo.toml index b2d877faa64c..45b47d6f515e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,7 +115,7 @@ paste = "1.0" pin-project = "1.0" prometheus = { version = "0.13.3", features = ["process"] } prost = "0.12" -raft-engine = { git = "https://github.com/tikv/raft-engine.git", rev = "22dfb426cd994602b57725ef080287d3e53db479" } +raft-engine = { version = "0.4.1", default-features = false } rand = "0.8" regex = "1.8" regex-automata = { version = "0.2", features = ["transducer"] }