Skip to content

Commit

Permalink
[WIP]: Create a json-rpc lib (#121)
Browse files Browse the repository at this point in the history
* Create the basics for a json-rpc client lib

This commit adds a trait with all possible json-rpc methods exposed by
florestad, as well as all the types returned by it.

Specific implementations should use some networking lib like jsonrpc or
reqwest to actually implement the trait methods and make a concrete
implementation.

* add a concrete implementation with reqwest

* add integration tests to the cli lib

* document all rpcs and data they return

* use the cli lib inside the rpc cli client
  • Loading branch information
Davidson-Souza authored Jan 25, 2024
1 parent 124440d commit 03c09d6
Show file tree
Hide file tree
Showing 12 changed files with 1,321 additions and 146 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# run all tests
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
run: cargo build && cargo test --verbose

linting:

Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
toolchain: ${{ matrix.rust }}

- name: Cross compile
run: cargo test --verbose
run: cargo build && cargo test --verbose
Loading

0 comments on commit 03c09d6

Please sign in to comment.