-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b72ea56
commit 6197f05
Showing
20 changed files
with
55 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ version = "0.10.0" | |
edition = "2021" | ||
authors = [ | ||
"Databend Authors <[email protected]>", | ||
"Anthony Dodd <[email protected]>" | ||
"Anthony Dodd <[email protected]>", | ||
] | ||
categories = ["algorithms", "asynchronous", "data-structures"] | ||
description = "Advanced Raft consensus" | ||
|
@@ -18,16 +18,16 @@ repository = "https://github.com/datafuselabs/openraft" | |
anyerror = { version = "0.1.10" } | ||
anyhow = "1.0.63" | ||
async-entry = "0.3.1" | ||
byte-unit = "4.0.12" | ||
byte-unit = "5.1.4" | ||
bytes = "1.0" | ||
chrono = { version = "0.4" } | ||
clap = { version = "4.1.11", features = ["derive", "env"] } | ||
derive_more = { version = "0.99.9" } | ||
derive_more = { version = "1.0", features = ["std", "from", "try_into", "display"] } | ||
futures = "0.3" | ||
lazy_static = "1.4.0" | ||
maplit = "1.0.2" | ||
pretty_assertions = "1.0.0" | ||
proc-macro2 = { version = ">=1.0.0,<1.0.80", features = [] } | ||
proc-macro2 = "1.0" | ||
quote = "1.0" | ||
rand = "0.8" | ||
semver = "1.0.14" | ||
|
@@ -37,7 +37,14 @@ syn = "2.0" | |
tempfile = { version = "3.4.0" } | ||
test-harness = "0.3.0" | ||
thiserror = "1.0.49" | ||
tokio = { version = "1.22", default-features = false, features = ["io-util", "macros", "rt", "rt-multi-thread", "sync", "time"] } | ||
tokio = { version = "1.22", default-features = false, features = [ | ||
"io-util", | ||
"macros", | ||
"rt", | ||
"rt-multi-thread", | ||
"sync", | ||
"time", | ||
] } | ||
tracing = { version = "0.1.40" } | ||
tracing-appender = "0.2.0" | ||
tracing-futures = "0.2.4" | ||
|
@@ -64,5 +71,5 @@ exclude = [ | |
"examples/raft-kv-memstore-network-v2", | ||
"examples/raft-kv-memstore-opendal-snapshot-data", | ||
"examples/raft-kv-rocksdb", | ||
"rt-monoio" | ||
"rt-monoio", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ edition = "2021" | |
authors = [ | ||
"drdr xp <[email protected]>", | ||
"Pedro Paulo de Amorim <[email protected]>", | ||
"Xuanwo <[email protected]>" | ||
"Xuanwo <[email protected]>", | ||
] | ||
categories = ["algorithms", "asynchronous", "data-structures"] | ||
description = "An example distributed key-value store built upon `openraft`." | ||
|
@@ -20,12 +20,13 @@ repository = "https://github.com/datafuselabs/openraft" | |
memstore = { path = "../memstore", features = [] } | ||
openraft = { path = "../../openraft", features = ["serde", "type-alias"] } | ||
|
||
bytes = "1.0" | ||
serde = { version = "1.0.114", features = ["derive"] } | ||
serde_json = "1.0.57" | ||
tokio = { version = "1.0", default-features = false, features = ["sync"] } | ||
tracing = "0.1.29" | ||
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] } | ||
opendal = "0.45.0" | ||
opendal = "0.48.0" | ||
|
||
[dev-dependencies] | ||
maplit = "1.0.2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ readme = "README.md" | |
|
||
edition = "2021" | ||
authors = [ | ||
"drdr xp <[email protected]>", | ||
"Pedro Paulo de Amorim <[email protected]>", | ||
"The Tremor Team", | ||
"drdr xp <[email protected]>", | ||
"Pedro Paulo de Amorim <[email protected]>", | ||
"The Tremor Team", | ||
] | ||
categories = ["algorithms", "asynchronous", "data-structures"] | ||
description = "An example distributed key-value store built upon `openraft`." | ||
|
@@ -26,14 +26,14 @@ openraft = { path = "../../openraft", features = ["serde", "type-alias"] } | |
tokio = { version = "1.35.1", features = ["full"] } | ||
byteorder = "1.4.3" | ||
clap = { version = "4.1.11", features = ["derive", "env"] } | ||
reqwest = { version = "0.11.9", features = ["json"] } | ||
reqwest = { version = "0.12.5", features = ["json"] } | ||
rocksdb = "0.22.0" | ||
serde = { version = "1.0.114", features = ["derive"] } | ||
serde_json = "1.0.57" | ||
tide = { version = "0.16" } | ||
# for toy-rpc, use `serde_json` instead of the default `serde_bincode`: | ||
# bincode which enabled by default by toy-rpc, does not support `#[serde(flatten)]`: https://docs.rs/bincode/2.0.0-alpha.1/bincode/serde/index.html#known-issues | ||
toy-rpc = { version = "0.8.6", features = [ | ||
toy-rpc = { version = "0.10.0", features = [ | ||
"ws_tokio", | ||
"server", | ||
"client", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![allow(rustdoc::redundant_explicit_links)] | ||
#![doc = include_str!("docs.md")] | ||
|
||
#[rustfmt::skip] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nightly-2024-03-20 | ||
nightly-2024-07-02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters