forked from paritytech/jsonrpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement client support (paritytech#405)
* Exclude stderr in editorconfig. * Fix some warnings. * Implement std::error::Error for Error. * Implement jsonrpc client. * Add returns attribute. * Generalize where clause generation. * Generate client. * Make client/server generation optional. * Update examples. * Add websocket client. * Fix tests. * Run rustfmt. * Add local client. * Export RpcChannel and RpcError. * Update client/Cargo.toml Co-Authored-By: dvc94ch <[email protected]> * Update ws/client/Cargo.toml Co-Authored-By: dvc94ch <[email protected]> * Improve error reporting. * Address review issues. * Fix tests. * Add example. * Add compile tests.
- Loading branch information
Showing
35 changed files
with
1,085 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[package] | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Transport agnostic JSON-RPC 2.0 client implementation." | ||
documentation = "https://docs.rs/jsonrpc-client/" | ||
edition = "2018" | ||
homepage = "https://github.com/paritytech/jsonrpc" | ||
keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"] | ||
license = "MIT" | ||
name = "jsonrpc-client" | ||
repository = "https://github.com/paritytech/jsonrpc" | ||
version = "10.1.0" | ||
|
||
categories = [ | ||
"asynchronous", | ||
"network-programming", | ||
"web-programming::http-client", | ||
"web-programming::http-server", | ||
"web-programming::websocket", | ||
] | ||
|
||
[dependencies] | ||
failure = "0.1" | ||
futures = "~0.1.6" | ||
jsonrpc-core = { version = "10.1", path = "../core" } | ||
log = "0.4" | ||
serde_json = "1.0" | ||
|
||
[dev-dependencies] | ||
jsonrpc-derive = { version = "10.1", path = "../derive" } | ||
jsonrpc-client = { version = "10.1", path = "." } | ||
serde = "1.0" | ||
tokio = "0.1" | ||
|
||
[badges] | ||
travis-ci = { repository = "paritytech/jsonrpc", branch = "master"} |
Oops, something went wrong.