- Jan 21, 2022
-
-
Niklas Adolfsson authored
-
- Jan 19, 2022
-
-
Niklas Adolfsson authored
Closing https://github.com/paritytech/jsonrpsee/issues/649
-
Alexander Samusev authored
* stick benchmarks to one host * test bench in pr pipeline * return schedule refs to benchmark job
-
- Jan 10, 2022
-
-
Niklas Adolfsson authored
* fix(ws client): export `WsClient` * fix build * fix doc links
-
- Jan 06, 2022
-
-
Niklas Adolfsson authored
* fix(ws client): improve error message bad URL * fix nit: uri -> target * fix nit * fix grumbles
-
Niklas Adolfsson authored
-
- Jan 05, 2022
-
-
Niklas Adolfsson authored
* fix(http server): handle post and option requests. * Update http-server/src/response.rs * fmt * grumbles: validate CORS before checking method kind * revert unintentional change * Add A few tests around CORS and http method/header acceptance * Tweak the CORS test * return appropriate headers for CORS preflight response * cargo fmt * jsonrpc, not jsonrpsee in test requests * don't test OPTIONS method in unsupported_methods test as it has different expectations * Update tests/tests/integration_tests.rs * Update tests/tests/integration_tests.rs * Update tests/tests/integration_tests.rs * Update tests/tests/integration_tests.rs * Add an example to test CORS in browser, and a couple of fixes to CORS handling * cargo fmt * Update examples/cors_server.rs Co-authored-by: James Wilson <[email protected]>
-
- Dec 22, 2021
-
-
David authored
-
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
* 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
-
- Dec 21, 2021
-
-
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 <[email protected]>
-
David authored
* Upgrade `tracing-subscriber` * One more
-
- 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]>
-
- Dec 15, 2021
-
-
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 <[email protected]> * fix nits * more grumbles * make rust stable happy * SubscriptionClosed: add deny unknown fields Co-authored-by: David <[email protected]>
-
- Dec 14, 2021
-
-
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 <[email protected]> * Use proper span * Use proper span (2) Co-authored-by: Maciej Hirsz <[email protected]>
-
Niklas Adolfsson authored
* [http client]: re-export transport types. Closing #605 * cargo fmt
-
Alexander Samusev authored
-
- Dec 13, 2021
-
-
Alexander Samusev authored
* Add job to publish benchmark results to gh-pages * Allow publish to gh-pages fail * remove force push
-
- Dec 10, 2021
-
-
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 <[email protected]> * add rustdoc examples * fix tabs * no more tabs in docs * address grumbles * Update utils/src/server/rpc_module.rs Co-authored-by: David <[email protected]>
-
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
-
- Dec 09, 2021
-
-
David authored
* Remove usage of the `palaver` crate in an example * fmt
-
Niklas Adolfsson authored
-
- Dec 08, 2021
-
-
Niklas Adolfsson authored
-
- Dec 07, 2021
-
-
Niklas Adolfsson authored
* deps: use `FxHashMap` instead `fnv` * fmt
-
- Dec 06, 2021
-
-
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 <[email protected]> * Update types/src/v2/response.rs Co-authored-by: David <[email protected]> * grumbles * fix rustdoc links * Update utils/src/server/rpc_module.rs Co-authored-by: David <[email protected]> * Update utils/src/server/rpc_module.rs Co-authored-by: David <[email protected]> Co-authored-by: David <[email protected]>
-
- Dec 02, 2021
-
-
Alexander Samusev authored
* add badge to readme * first version of pipeline * Update .gitlab-ci.yml Co-authored-by: Niklas Adolfsson <[email protected]> * 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 <[email protected]> * Update .gitlab-ci.yml Co-authored-by: Niklas Adolfsson <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: David <[email protected]> Co-authored-by: Denis P <[email protected]> Co-authored-by: Denis Pisarev <[email protected]>
-
- Dec 01, 2021
-
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-