- 22 Dec, 2021 6 commits
-
-
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 <dvdplm@gmail.com>
-
Niklas Adolfsson authored
* feature renamed to async-client * export rpc_macro for core client * re-export core from wrapper crate * rename feature core-client -> async-client * add client feature too * reorg features
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
Implies MSRV 1.56.x
-
Alexander Samusev authored
-
- 21 Dec, 2021 5 commits
-
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
* fix(jsonrpsee wrapper): make ws tls configurable * fix nit; tls is feature of transport crate
-
Alexander Samusev authored
-
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 <dvdplm@gmail.com>
-
David authored
* Upgrade `tracing-subscriber` * One more
-
- 20 Dec, 2021 1 commit
-
-
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 <dvdplm@gmail.com> * Update client/core-client/src/lib.rs Co-authored-by:
David <dvdplm@gmail.com> * cargo fmt * Update client/ws-client/src/lib.rs Co-authored-by:
David <dvdplm@gmail.com> * Update client/ws-client/src/lib.rs Co-authored-by:
David <dvdplm@gmail.com> * 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 <dvdplm@gmail.com>
-
- 17 Dec, 2021 1 commit
-
-
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 <niklasadolfsson1@gmail.com> * fmt * Feature gate the Client trait * Move `Client` traits to `client` module Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com>
-
- 15 Dec, 2021 2 commits
-
-
Maciej Hirsz authored
-
Niklas Adolfsson authored
* refactor `SubscriptionClosed` I noticed that we "trying" to sending "close messages" on subscriptions that already has been terminated by the client which is unnecessary. Moreover, this introduces `fn is_closed` to check whether a given channel is closed without having to send an actual message on the channel. * cargo fmt * Update types/src/error.rs Co-authored-by:
David <dvdplm@gmail.com> * fix nits * more grumbles * make rust stable happy * SubscriptionClosed: add deny unknown fields Co-authored-by:
David <dvdplm@gmail.com>
-
- 14 Dec, 2021 3 commits
-
-
David authored
* Better error messages for method arguments ignored with a `_` Relates to #609 * Fix typo * typo 2 * Update proc-macros/src/rpc_macro.rs Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> * Use proper span * Use proper span (2) Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
-
Niklas Adolfsson authored
* [http client]: re-export transport types. Closing #605 * cargo fmt
-
Alexander Samusev authored
-
- 13 Dec, 2021 1 commit
-
-
Alexander Samusev authored
* Add job to publish benchmark results to gh-pages * Allow publish to gh-pages fail * remove force push
-
- 10 Dec, 2021 4 commits
-
-
Niklas Adolfsson authored
* rpc module: refactor calls/subs without a server * Update utils/src/server/rpc_module.rs * Update utils/src/server/rpc_module.rs * Update utils/src/server/rpc_module.rs * rpc module: add raw_json_requests + rename test_subscribe * Update utils/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * add rustdoc examples * fix tabs * no more tabs in docs * address grumbles * Update utils/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com>
-
James Wilson authored
* get the tests passing * cargo fmt * tweak comment wording * point to StreamExt in the next() method impl just so that people know to import it if desired * ignore clippy lint on next() Iterator-like method * Fix an example * actually, unwrap instead of transpose
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
* ci: remove GHA daily benchmark * update README
-
- 09 Dec, 2021 2 commits
-
-
David authored
* Remove usage of the `palaver` crate in an example * fmt
-
Niklas Adolfsson authored
-
- 08 Dec, 2021 1 commit
-
-
Niklas Adolfsson authored
-
- 07 Dec, 2021 1 commit
-
-
Niklas Adolfsson authored
* deps: use `FxHashMap` instead `fnv` * fmt
-
- 06 Dec, 2021 2 commits
-
-
Niklas Adolfsson authored
* clients: introduce tls feature flag * Update tests/tests/integration_tests.rs * fix: don't rebuild tls connector of every connect * fix tests + remove url dep * fix tests again
-
Niklas Adolfsson authored
* rpc module: add `call_and_subscribe` * Update utils/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * Update types/src/v2/response.rs Co-authored-by:
David <dvdplm@gmail.com> * grumbles * fix rustdoc links * Update utils/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> * Update utils/src/server/rpc_module.rs Co-authored-by:
David <dvdplm@gmail.com> Co-authored-by:
David <dvdplm@gmail.com>
-
- 02 Dec, 2021 1 commit
-
-
Alexander Samusev authored
* add badge to readme * first version of pipeline * Update .gitlab-ci.yml Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com> * add pre-cache script * fmt and clippy stable * add check and test * remove output text file from bench * Update scripts/ci/pre_cache.sh Co-authored-by:
David <dvdplm@gmail.com> * Update .gitlab-ci.yml Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com> * small fix * fix test and schedule * CI: verbose is a surplus * CI: separately check rustdoc linx * fix refs * add bench to gh-pages * fix refs * fix benchmarks * added vault to ci * fix vars * comment bench * fix benches name * added script to push benchmark results to VM * make script executable * change bench psuh executor * changed benchmark task to run on a dedicated node pool * change prometheus metric name for benchmarks * send 2 metrics with benchmark results * disable non-schedule jobs from schedule run * empty commit for benchmark test * change metric name * empty commit for benchmark test * empty commit for benchmark test * add cirunner label to vm metric * split vm metric to 2 metrics * change runner description to runner tag in ci scripts * add pass runner tags from benchmark to publish job * change runner tag to runner description * add debug message * empty commit for test * empty commit for test * Update .scripts/ci/push_bench_results.sh Co-authored-by:
Denis Pisarev <17856421+TriplEight@users.noreply.github.com> * add defaults, remove dups, change ci image for publish-bench * remove pre_cache.sh * move interruptible to defaults * add issue to fixme comment Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by:
David <dvdplm@gmail.com> Co-authored-by:
Denis P <denis.pisarev@parity.io> Co-authored-by:
Denis Pisarev <17856421+TriplEight@users.noreply.github.com>
-
- 01 Dec, 2021 3 commits
-
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
Maciej Hirsz authored
* Squashed MethodSink * Middleware WIP * Passing all the information through * Unnecessary `false` * Apply suggestions from code review Co-authored-by:
David <dvdplm@gmail.com> * Add a setter for middleware (#577) * Fix try-build tests * Add a middleware setter and an example * Actually add the example * Grumbles * Use an atomic * Set middleware with a constructor instead * Resolve a todo * Update ws-server/src/server.rs Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> * Update ws-server/src/server.rs Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> * Update ws-server/src/server.rs Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> * Middleware::on_response for batches * Middleware in HTTP * fmt * Server builder for HTTP * Use actual time in the example * HTTP example * Middleware to capture method not found calls * An example of adding multiple middlewares. (#581) * Add an example of adding multiple middlewares. * Update examples/multi-middleware.rs Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> * Update examples/Cargo.toml Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> * Move `Middleware` to jsonrpsee-types (#582) * Move `Middleware` to jsonrpsee-types * Move Middleware trait to jsonrpsee-types * Add some docs. * Link middleware to `with_middleware` methods in docs * Doctests * Doc comment fixed * Clean up a TODO * Switch back to `set_middleware` * fmt * Tests * Add `on_connect` and `on_disconnect` * Add note to future selves Co-authored-by:
David <dvdplm@gmail.com>
-
- 30 Nov, 2021 1 commit
-
-
Niklas Adolfsson authored
* fix(types): use `Cow` for deserializing `str` * use ToString
-
- 29 Nov, 2021 1 commit
-
-
Niklas Adolfsson authored
-
- 26 Nov, 2021 1 commit
-
-
Niklas Adolfsson authored
-
- 25 Nov, 2021 2 commits
-
-
Niklas Adolfsson authored
* fix rpc error: support unquoted strings * Update types/src/v2/error.rs Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com> Co-authored-by:
Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
-
Sergejs Kostjucenko authored
* Add CODEOWNERS file * Fix typo * Add tools-team as main codeowner
-
- 24 Nov, 2021 1 commit
-
-
David authored
* Bump version –> 0.5 Fix try-build tests * Changelog * Update CHANGELOG.md Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com> * Update CHANGELOG.md Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com>
-
- 23 Nov, 2021 1 commit
-
-
Niklas Adolfsson authored
-