Skip to content

Commit

Permalink
Switch 'console' client off of async/tokio. Add a simple blocking "sy…
Browse files Browse the repository at this point in the history
…nc" version of the zmq client.
  • Loading branch information
rdaum committed Feb 8, 2024
1 parent 495c331 commit 3f14d21
Show file tree
Hide file tree
Showing 8 changed files with 333 additions and 198 deletions.
19 changes: 15 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ members = [
"crates/kernel",
"crates/db",
"crates/rpc-common",
"crates/rpc-sync-client",
"crates/rpc-async-client",
"crates/daemon",
"crates/telnet-host",
Expand Down
8 changes: 2 additions & 6 deletions crates/console-host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rust-version.workspace = true
[dependencies]
moor-values = { path = "../values" }
rpc-common = { path = "../rpc-common" }
rpc-async-client = { path = "../rpc-async-client" }
rpc-sync-client = { path = "../rpc-sync-client" }

## Command line arguments parsing.
clap.workspace = true
Expand All @@ -25,18 +25,14 @@ bincode.workspace = true
futures-util.workspace = true
futures.workspace = true

## Asynchronous transaction processing & networking
tokio-util.workspace = true
tokio.workspace = true

## Logging & tracing
tracing-chrome.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true

## ZMQ / RPC
itertools.workspace = true
tmq.workspace = true
zmq.workspace = true
uuid.workspace = true

## For console
Expand Down
Loading

0 comments on commit 3f14d21

Please sign in to comment.