Skip to content

Commit

Permalink
More connectivity stuff:
Browse files Browse the repository at this point in the history
 * Add `console-host`, a readline type interface direct from the console, sans network.
 * Fix 'create' action for websockets login.
 * Fix idle time / activity.
  • Loading branch information
rdaum committed Sep 23, 2023
1 parent 7f906bb commit ac17dea
Show file tree
Hide file tree
Showing 8 changed files with 442 additions and 5 deletions.
26 changes: 26 additions & 0 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 @@ -8,6 +8,7 @@ members = [
"crates/daemon",
"crates/telnet-host",
"crates/web-host",
"crates/console-host",
"crates/server",
"crates/regexpr-binding",
]
Expand Down
2 changes: 2 additions & 0 deletions crates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Directory layout for `crates/`
network `host`s
* `web-host` - like the above, but hosts an HTTP server which provides a websocket interface to the system.
as well as various web APIs.
* `console-host` - console host which connects as a user to the `daemon` and provides a readline-type interface to the
system.
* `server` - a "monolithic" server which links kernel and provides telnet and websocket and repl
hosts.
* `rpc-common` - crate providing types used by both `daemon` and `host`, for the RPC interface
Expand Down
40 changes: 40 additions & 0 deletions crates/console-host/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[package]
name = "moor-console-host"
version = "0.1.0"
edition.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
moor-kernel = { path = "../kernel" }
moor-values = { path = "../values" }
rpc-common = { path = "../rpc-common" }

## Command line arguments parsing.
clap.workspace = true
clap_derive.workspace = true
strum.workspace = true

# General.
anyhow.workspace = true
futures.workspace = true
futures-util.workspace = true
async-trait.workspace = true
bincode.workspace = true

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

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

## ZMQ
tmq.workspace = true
uuid.workspace = true
itertools.workspace = true

## For console
rustyline.workspace = true
Loading

0 comments on commit ac17dea

Please sign in to comment.