- Aug 12, 2022
-
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
- Aug 11, 2022
-
-
Alexandru Vasile authored
* Fix cargo clippy Signed-off-by: Alexandru Vasile <[email protected]> * ci: Deny clippy warning Signed-off-by: Alexandru Vasile <[email protected]> * Replace clippy by `clippy-check` Signed-off-by: Alexandru Vasile <[email protected]>
-
- Aug 10, 2022
-
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
- Aug 09, 2022
-
-
Alexandru Vasile authored
Co-authored-by: Niklas Adolfsson <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
- Aug 08, 2022
-
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
- Aug 04, 2022
-
-
Alexandru Vasile authored
* Rename Middleware to Metrics Signed-off-by: Alexandru Vasile <[email protected]> * Change documentation to reflect the `Metrics` trait Signed-off-by: Alexandru Vasile <[email protected]> * Middleware name refactoring Signed-off-by: Alexandru Vasile <[email protected]> * Http middleware renaming Signed-off-by: Alexandru Vasile <[email protected]> * Rename examples Signed-off-by: Alexandru Vasile <[email protected]> * Update http-server/src/server.rs Co-authored-by: James Wilson <[email protected]> * http: Use `request` instead of `HeaderMap` for logging Signed-off-by: Alexandru Vasile <[email protected]> * Rename `Metrics` -> `Logger` Signed-off-by: Alexandru Vasile <[email protected]> * Fix cargo clippy Signed-off-by: Alexandru Vasile <[email protected]> * Fix examples Signed-off-by: Alexandru Vasile <[email protected]> * Fix tests Signed-off-by: Alexandru Vasile <[email protected]> * Fix cargo fmt Signed-off-by: Alexandru Vasile <[email protected]> * Fix hyper dependency Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: James Wilson <[email protected]>
-
- Jul 29, 2022
-
-
Alexandru Vasile authored
* Bump jsonrpsee version to 0.15.1 Signed-off-by: Alexandru Vasile <[email protected]> * Update changelog Signed-off-by: Alexandru Vasile <[email protected]> * Update CHANGELOG.md Co-authored-by: James Wilson <[email protected]> Co-authored-by: James Wilson <[email protected]>
-
Patrick Kuo authored
* add id to tracing span * Revert "add id to tracing span" This reverts commit 5e01e6be. * Avoid using Span::enter() in async functions, following tracing's doc instruction https://docs.rs/tracing/latest/tracing/struct.Span.html#in-asynchronous-code * * fixed all Span::enter() * clean up * fix fmt * changed RpcTracing::span -> into_span instead of cloning the span
-
- Jul 27, 2022
-
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
- Jul 25, 2022
-
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]>
-
- Jul 21, 2022
-
-
James Wilson authored
* Add generate_changelog and adapt release checklist from subxt to make the process a little easier * prepare to releasse v0.15.0 * release checklist tweak * fix numbers in release checklist * Add details about #820 to changelog
-
- Jul 20, 2022
-
-
Niklas Adolfsson authored
-
- Jul 06, 2022
-
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
* WIP: refactoring * refactor http server * fix tests * Delete TODO.txt * fix tests again * add benches/src/lib.rs * remove bench changes; fast less deps * no more env_logger * update examples * ws server; expose headers in middleware * add back uncommented code * fix nits * make the code more readable * add back the tracing stuff * simplify code but one extra clone * fix tests again * revert async accept API * fix nits * different traits for WS and HTTP middleware * fix tests * revert benchmark change * Update core/src/server/helpers.rs * Update ws-server/Cargo.toml * add limit to batch responses as well * pre-allocate string for batches * small refactor
-
- Jun 22, 2022
-
-
tgmichel authored
* Remove `deny_unknown_fields` * Update invalid request tests * Remove `is_not_request_object` field from req in test * Remove `deny_unknown_fields` from `Response` * Add test to verify unknown field results in valid request
-
- Jun 21, 2022
-
-
Niklas Adolfsson authored
To include the bugfix for `tracing::enabled!` when `log` is enabled. Follow up on #722
-
Niklas Adolfsson authored
* less verbose logging + tracing based on method name * add tracing per rpc call * fix nits * remove unsed feature * fix build * http make logging more human friendly * unify logging format * deps: make tracing hard dependency * fix tests * fix nit * fix build * fix nits * Update core/src/client/async_client/mod.rs * Update core/Cargo.toml * Update core/src/lib.rs
-
- Jun 14, 2022
-
-
Niklas Adolfsson authored
* chore(release): v0.14.0 * Update CHANGELOG.md * Update CHANGELOG.md
-
- Jun 13, 2022
-
-
Niklas Adolfsson authored
* fix(servers): more descriptive errors calls fail Closing #775 * fix tests * rename constants * address grumbles
-
Niklas Adolfsson authored
* initial rewrite to re-use HTTP access control * clean things up * Update core/src/error.rs * Update core/src/error.rs * allow origin: add back removed Display impl * cleanup again * Update http-server/src/lib.rs * Update examples/examples/cors_server.rs * Update core/src/server/access_control/mod.rs Co-authored-by: Tarik Gul <[email protected]> * Update http-server/src/server.rs Co-authored-by: Tarik Gul <[email protected]> * fix bad comment * remove todo * fix grumbles * more grumbles * rename and document a bit * remove `Access-Control-Allow-Origin` in whitelist * fix nit: pub(super) * fix bad naming Co-authored-by: Tarik Gul <[email protected]>
-
- Jun 01, 2022
-
-
Niklas Adolfsson authored
* fix(http server): omit jsonrpc details health API Closing https://github.com/paritytech/jsonrpsee/issues/784 Ordinary GET requests doesn't expect the body the be formatted as `JSON-RPC` responses which this fixes. * address grumbles * Update http-server/src/server.rs * cargo fmt
-
- May 25, 2022
-
-
Alexander Polakov authored
-
- May 13, 2022
-
-
Niklas Adolfsson authored
* chore(release): v0.13.1 * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Tarik Gul <[email protected]> * Update CHANGELOG.md Co-authored-by: Tarik Gul <[email protected]>
-
- May 11, 2022
-
-
Niklas Adolfsson authored
* chore(release): v0.13.0 * Update CHANGELOG.md
-