aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc
Commit message (Collapse)AuthorAgeFiles
* jsonrpc: remove redundant macro codes in the main crate and clean uphozan232024-06-3011
| | | | internal proc macros
* bump version to 0.1.5hozan232024-06-301
|
* jsonrpc: remove unwrap() and use expect() for examples, docs, and testshozan232024-06-306
|
* jsonrpc: minor tweak to support Rust 1.64.0hozan232024-06-301
|
* use shadown variables to name clones and place them between {} when spawning ↵hozan232024-06-294
| | | | new tasks
* Improve async channels error handling and replace unbounded channels with ↵hozan232024-06-271
| | | | | | | | | | | bounded channels Remove all unbounded channels to prevent unbounded memory usage and potential crashes. Use `FuturesUnordered` for sending to multiple channels simultaneously. This prevents the sending loop from blocking if one channel is blocked, and helps handle errors properly.
* update dependencieshozan232024-06-244
|
* jsonrpc: add info logs when connecting/listening to endpointhozan232024-06-232
|
* bump version to 0.1.4hozan232024-06-222
|
* jsonrpc/client: close the subscription channel when calling unsubscribehozan232024-06-223
|
* jsonrpc: use `ServerConfig` and `ClientConfig` as the inner field inhozan232024-06-226
| | | | `ServerBuilder` and `ClientBuilder`
* jsonrpc: add tcp, tls and ws features for compilationhozan232024-06-226
|
* jsonrpc/client: fix subscription error when the subscriber cannot keep uphozan232024-06-2110
| | | | | | Add a limit for receiving notifications for the subscription. If this limit is exceeded, the client will stop and raise an error. The limit is configurable when building a new client.
* jsonrpc/server: use weak pointer for Channel in subscriptionshozan232024-06-172
|
* jsonrpc/client: use serde untagged enum for decoding Notifications and Responseshozan232024-06-173
|
* bump version to 0.1.3hozan232024-06-154
|
* jsonrpc/server: check for the jsonrpc version in the requesthozan232024-06-151
|
* jsonrpc: separate the RPC errors from the library implementation errorshozan232024-06-1512
|
* jsonrpc: client use unbounded channels as buffer for sending requests & ↵hozan232024-06-1412
| | | | clean up examples
* p2p: WIP implement rpc server for the p2p monitorhozan232024-06-142
|
* bump version to 0.1.2hozan232024-06-132
|
* jsonrpc: spread out comments and clean uphozan232024-06-1313
|
* bump version to 0.1.1hozan232024-05-312
|
* jsonrpc/server: use queue with condvar instead of async channelshozan232024-05-306
|
* jsonrpc: add comments & remove debugging codehozan232024-05-285
|
* jsonrpc: move `SubscriptionID` to message.rshozan232024-05-286
|
* jsonrpc: enable concurrent requests in `Client`hozan232024-05-286
|
* p2p: WIP rpc server implementation for the p2p monitorhozan232024-05-274
|
* p2p: rename connection.rs to conn_queue.rshozan232024-05-251
|
* jsonrpc: remove subscriber field from Request & clean uphozan232024-05-233
|
* jsonrpc: spawn task when handle new requesthozan232024-05-2311
|
* jsonrpc: cargo fmthozan232024-05-221
|
* jsonrpc: main example clean uphozan232024-05-222
|
* jsonrpc: support pubsubhozan232024-05-2218
|
* jsonrpc: minor change in Cargo.tomlhozan232024-05-211
|
* jsonrpc: minor cleanup to the main examplehozan232024-05-202
|
* add metadata to Cargo.toml fileshozan232024-05-202
|
* jsonrpc: add ws cargo featureshozan232024-05-205
|
* use cargo features to enable/disable protocols for net cratehozan232024-05-192
|
* add tokio examples to p2p, jsonrpc, and net crateshozan232024-05-194
|
* jsonrpc: remove jsonrpc_internal cratehozan232024-05-197
|
* update READMEshozan232024-05-192
|
* add support for tokio & improve net crate apihozan232024-05-1917
|
* core: minor modification to TaskGroup apihozan232024-03-211
|
* core: add the option to create a new task group without providing anhozan232024-03-202
| | | | executor & remove GlobalExecutor type
* update dependencieshozan232024-03-131
|
* jsonrpc: extend the example in the libraryhozan232024-03-133
|
* jsonrpc: Handle client connection failures & perform general cleanuphozan232024-03-113
|
* Ensure uniform usage of the name `karyon` across all fileshozan232023-12-0210
|
* net: Use ToConn and ToListener traits for objects that can be convertedhozan232023-11-306
| | | | to Conn and Listener.