Create JSON-RPC server repo with stats #44

Merged
glyph merged 3 commits from jsonrpc_server into main 2021-12-14 13:05:02 +00:00
Owner

This is a continuation of the effort to separate core logic and JSON-RPC services (see issue #23).

Here we have the beginnings of a bundled JSON-RPC server. It currently only includes the newly-separated peach-stats methods.

I will work on separating peach-network next and will add the networking methods to this repo. After that, I'll add pico-args to allow selective deployment of various method subsets (eg. start the JSON-RPC server with only the stats methods); as well as port number etc.

This is a continuation of the effort to separate core logic and JSON-RPC services (see [issue #23](https://git.coopcloud.tech/PeachCloud/peach-workspace/issues/23)). Here we have the beginnings of a bundled JSON-RPC server. It currently only includes the newly-separated `peach-stats` methods. I will work on separating `peach-network` next and will add the networking methods to this repo. After that, I'll add [pico-args](https://crates.io/crates/pico-args) to allow selective deployment of various method subsets (eg. start the JSON-RPC server with only the stats methods); as well as port number etc.
glyph added 3 commits 2021-12-13 05:32:04 +00:00
glyph requested review from notplants 2021-12-13 05:32:09 +00:00
glyph added the
refactor
label 2021-12-13 05:32:27 +00:00
glyph removed review request for notplants 2021-12-14 13:04:47 +00:00
glyph merged commit dd33fdd47d into main 2021-12-14 13:05:02 +00:00
glyph deleted branch jsonrpc_server 2021-12-14 13:05:02 +00:00
Owner

looks great ~

looks great ~
Owner

cool pico-args vs clap/structopt is quite a difference (looking at the pico-args chart comparing binary size and compilation times)

cool pico-args vs clap/structopt is quite a difference (looking at the pico-args chart comparing binary size and compilation times)
Sign in to join this conversation.
No description provided.