- Jan 21, 2022
-
-
Niklas Adolfsson authored
* feat(rpc module): add_stream to subscription sink * fix some nits * unify parameters to rpc methods * Update core/src/server/rpc_module.rs * Update tests/tests/integration_tests.rs Co-authored-by: David <[email protected]> * address grumbles * fix subscription tests * new type for `SubscriptionCallback` and glue code * remove unsed code * remove todo * add missing feature tokio/macros * make `add_stream` cancel-safe * rename add_stream and return status * fix nits * rename stream API -> streamify * Update core/src/server/rpc_module.rs * provide proper close reason * spelling * consume_and_streamify + docs * fmt * rename API pipe_from_stream * improve logging; indicate which subscription method that failed Co-authored-by: David <[email protected]>
-
- Dec 22, 2021
-
-
Niklas Adolfsson authored
* chore: release v0.7.0 * Update CHANGELOG.md * Update CHANGELOG.md * update changelog * Tweak CHANGELOG * re-export core for clients as well Co-authored-by: David Palm <[email protected]>
-
Niklas Adolfsson authored
Implies MSRV 1.56.x
-
- Dec 21, 2021
-
-
Niklas Adolfsson authored
* PoC * introduce IdProvider trait * revert Cow stuff * Update ws-server/src/server.rs * fix tests * cargo fmt * use 'static lifetime in SubscriptionId * fix tests * fmt * make tests compile again * fix tests * Fix tests * Move IdProvider impls to own module * move `sub-id gen` types to `core` * fix doc links * make rand non-optional dep * feature gate: id provider Co-authored-by: David Palm <[email protected]>
-
- Dec 20, 2021
-
-
Niklas Adolfsson authored
* extract ws client to async client * bring back jsonrpsee-ws-client crate * new crate core client * add missing file * jsonrpsee crate: add core client * rexport core client * more re-exports * downgrade trait bounds * update version * fix nits * send close reason * Update types/src/traits.rs * move 'TEN_MB_CONST' to core * Update client/core-client/Cargo.toml Co-authored-by: David <[email protected]> * Update client/core-client/src/lib.rs Co-authored-by: David <[email protected]> * cargo fmt * Update client/ws-client/src/lib.rs Co-authored-by: David <[email protected]> * Update client/ws-client/src/lib.rs Co-authored-by: David <[email protected]> * move `async-client` core The `async-client` is hidden behind a new feature flag `async-client` because it brings in additional dependecies such as tokio rt. * fix docs * add example how to use "core client" * fix build * Update http-server/Cargo.toml * Update client/transport/Cargo.toml Co-authored-by: David <[email protected]>
-
- Dec 17, 2021
-
-
Maciej Hirsz authored
* Nuke V2 * fmt * Formatting and imports * Updated benches * Fix doc comment link * Brace imports in ws-server * Reworking imports * std first * fmt * std on top * Update to match changed line numbers * Rename jsonrpsee_utils -> jsonrpsee_core * Migrating things types -> core * RpcError -> ErrorResponse * Merge types::client into core::client * Continued move types -> core * Removing features to make checks pass * Move rpc_module tests to tests crate * Fixed doc comment links * Add futures-util dependency for client * Remove dead code Co-authored-by: Niklas Adolfsson <[email protected]> * fmt * Feature gate the Client trait * Move `Client` traits to `client` module Co-authored-by: Niklas Adolfsson <[email protected]>
-
- Feb 26, 2020
-
-
Pierre Krieger authored
* Merge all the crates into one * Rustfmt * Fix examples * Fix tests
-
- Feb 19, 2020
-
-
Pierre Krieger authored
* Prepare core for no_std support * Fix missing documentation thingies * Rustfmt * For some reason my local rustfmt didn't pick up these changes * Fix compilation * Rustfmt
-
Qinxuan Chen authored
* Replace err-derive with thiserror * Remove some useless dependencies Signed-off-by: koushiro <[email protected]>
-
- Jan 09, 2020
-
-
* Update to stable futures * Fix breaking hyper and tokio changes * Fix breaking soketto changes * Try to fix hyper update errors * Fix remaining hyper compilation error * Update futures timer * Update to tokio 0.2 * Enable basic_scheduler * Enable logging in example * Bind server inside runtime context * Format code * Return error via channel if async server bind fails * Apply suggestions from code review Co-Authored-By: Pierre Krieger <[email protected]> * Question mark Co-authored-by: Pierre Krieger <[email protected]>
-
- Jan 03, 2020
-
-
Pierre Krieger authored
* Rename Client/Server -> RawClient/RawServer * SharedClient/Server -> Client/Server * Rename http/ws constructors * Rustfmt * Fix some bad renames * Rustfmt * More fixing
-
Pierre Krieger authored
* Add a SharedServer * More work * More work * More work * Make it work * Copyright update * Finish work
-
- Jan 02, 2020
-
-
Pierre Krieger authored
-
Pierre Krieger authored
* Add a SharedClient * More work * More work * More work * Finish Sharedclient * Fix merge conflict * Add From impl
-
- Nov 22, 2019
-
-
Pierre Krieger authored
* RawClient -> TransportClient * RawServer -> TransportServer * Rustfmt
-
- Nov 21, 2019
-
-
Pierre Krieger authored
* Add ClientActiveSubscription::is_closing * Rustfmt
-
- Nov 19, 2019
-
-
Pierre Krieger authored
* Allow closing a subscription from the client side * Rustfmt
-
- Nov 18, 2019
-
-
Pierre Krieger authored
* Apply Rustfmt and add a CI check * Install rustfmt
-
Pierre Krieger authored
-
* Add initial acl implementation * Implemented access control with utilities from paritytech::jsonrpc * Incorrect if * Make allowed_hosts an enum * Handling CORS in process_request * Build for AccessControl and naming coherence * "clean up your room! clean up your room ! that's all i ever hear..." - preflight requests - test and bench - wasm for yew * Add basic acl tests for 'host' * Remove 'macro_use' * Apply rustfmt to server-utils * Apply rustfmt to http * Bump lazy_static dependency
-
- Nov 16, 2019
-
-
Pierre Krieger authored
-
Pierre Krieger authored
-
- Nov 15, 2019
-
-
Pierre Krieger authored
* Run rustfmt on core * Apply rustfmt on ws * Apply rustfmt on proc-macro
-
- Nov 14, 2019
-
-
Pierre Krieger authored
* Servers can no longer error * Add comment about errors * Fix comment
-
Pierre Krieger authored
-
- Oct 31, 2019
-
-
Pierre Krieger authored
* Support generics in proc macro * Some work on allowing generics for the proc macro
-
- Oct 30, 2019
-
-
Pierre Krieger authored
-
- Oct 29, 2019
-
-
Pierre Krieger authored
* Add license header everywhere * Update company name * Fix bad merge
-
- Oct 24, 2019
-
-
Pierre Krieger authored
* Changes to the Client requests/subscriptions API * Fix rest
-
- Oct 11, 2019
-
-
Pierre Krieger authored
-
Pierre Krieger authored
-
- Oct 07, 2019
-
-
Pierre Krieger authored
-
Pierre Krieger authored
-
- Oct 02, 2019
-
-
Pierre Krieger authored
* Rework the Client to support multiple concurrent requests * Restore proc-macro functionnality * More work * More work * Work on the Server subscriptions system * More work on design * More work * More work * Even more work * Subscriptions working * Dix docs * More test fix * Fix server-sent subscription notifications * Add some server tests * Subscriptions pending system working * Remove TODO from tests * Implement close() correctly * Add comment on close() * Fix proc macro * Fix doctest * Fix local doctest
-
- Oct 01, 2019
-
-
Pierre Krieger authored
* Add documentation and error variants to Client * Reexport missing reexports * Fix proc macro
-
Pierre Krieger authored
-
Pierre Krieger authored
* Rework the Client to support multiple concurrent requests * Restore proc-macro functionnality * More work * More work * More work * Even more work * Subscriptions working * Dix docs * More test fix
-
- Sep 30, 2019
-
-
Pierre Krieger authored
* Fix compilation * More fixing * I'm getting tired of semver
-
- Sep 23, 2019
-
-
Pierre Krieger authored
-
Pierre Krieger authored
* Add a SubscriptionsClosed server event * Don't attempt to send back response if connection is closed * Implement into_subscription
-