Skip to content

Commit

Permalink
Feature: monoio runtime support
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Aug 5, 2024
1 parent 662d888 commit ebfe3b1
Show file tree
Hide file tree
Showing 4 changed files with 432 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ members = [
"stores/memstore",
"stores/rocksstore",
"stores/sledstore",
"rt-monoio",
]
exclude = [
"cluster_benchmark",
Expand Down
23 changes: 23 additions & 0 deletions rt-monoio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "openraft-rt-monoio"
description = "monoio AsyncRuntime support for Openraft"
documentation = "https://docs.rs/openraft-rt-monoio"
readme = "README.md"

version = { workspace = true }
edition = { workspace = true }
authors = { workspace = true }
categories = { workspace = true }
homepage = { workspace = true }
keywords = { workspace = true }
license = { workspace = true }
repository = { workspace = true }

[dependencies]
openraft = { path= "../openraft", version = "0.10.0", features = ["singlethreaded"] }

rand = { workspace = true }
tokio = { workspace = true, features = ["sync"] }

monoio = "0.2.3"
local-sync = "0.1.1"
5 changes: 5 additions & 0 deletions rt-monoio/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# openraft-rt-monoio

monoio [`AsyncRuntime`][rt_link] support for Openraft.

[rt_link]: https://docs.rs/openraft/latest/openraft/async_runtime/trait.AsyncRuntime.html
Loading

0 comments on commit ebfe3b1

Please sign in to comment.