- Nov 09, 2022
-
-
Niklas Adolfsson authored
-
dependabot[bot] authored
* chore(deps): update pprof requirement from 0.10 to 0.11 Updates the requirements on [pprof](https://github.com/tikv/pprof-rs) to permit the latest version. - [Release notes](https://github.com/tikv/pprof-rs/releases) - [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/tikv/pprof-rs/commits ) --- updated-dependencies: - dependency-name: pprof dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps): criterion v0.4.0 * fix tests * Revert "fix tests" This reverts commit 76310bd6 . Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niklas Adolfsson <[email protected]>
-
- Nov 08, 2022
-
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]> Signed-off-by: Alexandru Vasile <[email protected]>
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.2 to 2.1.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/v2.0.2...v2.1.0 ) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Nov 07, 2022
-
-
Niklas Adolfsson authored
* better handling of batch requests * add test for untagged enum * remove annoying trait bounds * cleanup * more clear comments * simplify batch request code * bring back old API + a new one * refactor batches to work with String IDs again * refactor again: single batch response API * fix tests + cleanup * fix doc links * address grumbles * BatchRequestBuilder: add iterator API for the batch * revert bench * fix benches build * address grumbles: ok and into_ok * fix some nits * fix nits
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
This PR fixes that the connection count is read after a connection has been accepted and not before which cause this log to be out of order.
-
- Nov 04, 2022
-
-
Niklas Adolfsson authored
* proc macro: support camelCase & snake_case for object params * switch to heck for converting case * fix ui test
-
- Nov 03, 2022
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/v2.0.1...v2.0.2 ) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Niklas Adolfsson authored
-
- Oct 26, 2022
-
-
Niklas Adolfsson authored
* fix: proper error on invalid batches * proper handling of batch request errors * ordered futures * remove needless boxing Co-authored-by: Alexander Polakov <[email protected]>
-
- Oct 18, 2022
-
-
Radu Popa authored
-
Radu Popa authored
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.0 to 2.0.1. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/v2.0.0...v2.0.1 ) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Oct 17, 2022
-
-
Radu Popa authored
-
- Oct 16, 2022
-
-
Niklas Adolfsson authored
* fix(jsonrpsee): add `types` to server feature * fix(benches): benches against fixed client version * address grumbles
-
- Oct 13, 2022
-
-
Alexandru Vasile authored
* server: Expose the subscription ID Signed-off-by: Alexandru Vasile <[email protected]> * tests: Check subscription ID is exposed correctly Signed-off-by: Alexandru Vasile <[email protected]> * server: Dedicated method for exposing the sub ID Signed-off-by: Alexandru Vasile <[email protected]> * Fix clippy Signed-off-by: Alexandru Vasile <[email protected]> Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]> Signed-off-by: Alexandru Vasile <[email protected]>
-
- Oct 10, 2022
-
-
Niklas Adolfsson authored
-
- Oct 07, 2022
-
-
Alexander Samusev authored
-
- Oct 05, 2022
-
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
* get gitlab gha working * test test * Revert "test test" This reverts commit c0f952dc. * some nit fixes * Update .github/workflows/benchmarks_gitlab.yml
-
dependabot[bot] authored
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.0.2...v3.1.0 ) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Niklas Adolfsson authored
* fix(gitlab bench): fix path * Update .github/workflows/benchmarks_gitlab.yml * Update .github/workflows/benchmarks_gitlab.yml * use alvic fix; gh-pages ref
-
- Oct 04, 2022
-
-
Niklas Adolfsson authored
* bench: display gitlab results as well * Update .github/workflows/benchmarks_gitlab.yml
-
Niklas Adolfsson authored
* server: add protocol details to logger trait * fix tests
-
- Sep 30, 2022
-
-
Niklas Adolfsson authored
-
- Sep 28, 2022
-
-
Alexander Samusev authored
* [WIP][ci] Fix benchmarks * reduce timeout to 3h * change SLOW_MEASUREMENT_TIME to 60 * MEASUREMENT_TIME = 10 Co-authored-by: Niklas Adolfsson <[email protected]>
-
- Sep 27, 2022
-
-
Niklas Adolfsson authored
fix(benches): relax `default measurement time`, split `benches` and run `fast call` only on batches (#885) * fix(benches): relax default and split benches * decrease slow and memory call overhead * revert `memory and slow call` + batch on slow_call * Update benches/helpers.rs * add asserts for fast_call
-
- Sep 24, 2022
-
-
Niklas Adolfsson authored
* add tokio-console support for benches * Update examples/examples/tokio_console.rs * Update examples/examples/tokio_console.rs
-
- Sep 23, 2022
-
-
Niklas Adolfsson authored
* fix(benches): increase sample time for benches * change to 100s * split benchmarks slow/fast * increase default sample time * Update benches/README.md * sample_time -> measurment_time
-
- Sep 16, 2022
-
-
Niklas Adolfsson authored
* tracing: use instrument macro * fix merge nit * cargo fmt * tracing span in TRACE only * Update core/src/client/async_client/mod.rs * get rid of tracing-futures * less noise for subscription spans * nits: replace spaces with tabs
-
- Sep 15, 2022
-
-
Niklas Adolfsson authored
* fix(http client): serde_json::Value -> T This PR changes the http client to decode the reponse as `Response<serde_json::Value> -> Response<R>` In order to get a more user-friendly error message Before: ``` response: Err(ParseError(Error("missing field `error`", line: 1, column: 3752798))) ``` After ``` 2022-08-11T13:57:12.033043Z INFO http: r: Parse error: invalid type: string "lo", expected u8 ``` * address grumbles * Update client/http-client/src/client.rs * Update client/http-client/src/client.rs
-
- Sep 13, 2022
-
-
Niklas Adolfsson authored
* ws server: support both http and ws * clean things up * ws server: add http logger and ws logger * more cleanup * fix nits * middleware example * remove http and ws server crates * move things around * some minor fixes * fix stop in http context * fix tests * fix features * use header constants * remove access_control & expose only host filtering CORS has been removed to tower middleware and doesn't need to supported anymore * fix merge logging traits + move to server * supress warnings faulty dead code * remove unwrap * support http2 * doesnt work * feat: simpler stop handling * Update server/src/future.rs * some cleanup * Update server/src/future.rs Co-authored-by: Alexandru Vasile <[email protected]> * Update server/src/future.rs Co-authored-by: Alexandru Vasile <[email protected]> * fix nits * address grumbles * commit examples and nits * clarify comment * remove noise * remove impl Future for ServerHandle * remove needless async {} * add http2 test * add ServerBuilder::build_from_tcp * fix super nit: no more Option<SocketAddr> * fix Option<SocketAddr> * Update server/src/future.rs Co-authored-by: Alexandru Vasile <[email protected]> * Update server/src/future.rs Co-authored-by: Alexandru Vasile <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]>
-
- Sep 06, 2022
-
-
Alexandru Vasile authored
* core: Fix doc typo Signed-off-by: Alexandru Vasile <[email protected]> * types: Implement generic `ParamBuilder` for RPC parameters Signed-off-by: Alexandru Vasile <[email protected]> * types: Add specialized RPC parameter builder for arrays and maps Signed-off-by: Alexandru Vasile <[email protected]> * types: Implement parameter builder for batch requests Signed-off-by: Alexandru Vasile <[email protected]> * types: Implement `rpc_params` in the `types` crate Signed-off-by: Alexandru Vasile <[email protected]> * core: Adjust `ClientT` for generic efficient parameters Signed-off-by: Alexandru Vasile <[email protected]> * proc-macro: Render clients using the parameter builders Signed-off-by: Alexandru Vasile <[email protected]> * Adjust testing to the `ToRpcParams` interface Signed-off-by: Alexandru Vasile <[email protected]> * core: Move `rpc_params` to core and simplify testing Signed-off-by: Alexandru Vasile <[email protected]> * core: Rename server's trait to `ToRpcServerParams` Signed-off-by: Alexandru Vasile <[email protected]> * bench: Adjust benches to the `ToRpcParams` interface Signed-off-by: Alexandru Vasile <[email protected]> * Fix clippy Signed-off-by: Alexandru Vasile <[email protected]> * types: Rename batch builder to `BatchRequestBuilder` Signed-off-by: Alexandru Vasile <[email protected]> * examples: Re-enable proc-macro example Signed-off-by: Alexandru Vasile <[email protected]> * types: Fix doc tests and add panic documentation Signed-off-by: Alexandru Vasile <[email protected]> * core: Fix documentation link Signed-off-by: Alexandru Vasile <[email protected]> * client: Use BatchRequestBuilder as parameter for batch requests Signed-off-by: Alexandru Vasile <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: Niklas Adolfsson <[email protected]> * Update core/src/server/rpc_module.rs Co-authored-by: Niklas Adolfsson <[email protected]> * types: Add specialized constructors for internal `ParamsBuilder` Signed-off-by: Alexandru Vasile <[email protected]> * types: Implement `EmptyParams` for client's parameters Signed-off-by: Alexandru Vasile <[email protected]> * tests: Fix macos disabled test Signed-off-by: Alexandru Vasile <[email protected]> * types: Improve comment Signed-off-by: Alexandru Vasile <[email protected]> * Fix clippy Signed-off-by: Alexandru Vasile <[email protected]> * benches: Rename functions Signed-off-by: Alexandru Vasile <[email protected]> * types: Rename param types to `ArrayParams` and `ObjectParams` Signed-off-by: Alexandru Vasile <[email protected]> * Move paramters to core crate Signed-off-by: Alexandru Vasile <[email protected]> * core: Return `core::Error` from `ToRpcParams` trait Signed-off-by: Alexandru Vasile <[email protected]> * Fix doc link Signed-off-by: Alexandru Vasile <[email protected]> * Fix `ArrayParamsBuilder` doc links Signed-off-by: Alexandru Vasile <[email protected]> * Remove `ToRpcServerParams` trait Signed-off-by: Alexandru Vasile <[email protected]> * core: Fix `ToRpcParams` docs Signed-off-by: Alexandru Vasile <[email protected]> * Remove `ParamsSer` and extend benchmarking Signed-off-by: Alexandru Vasile <[email protected]> * core: Optimise `rpc_params` to avoid allocation on error Signed-off-by: Alexandru Vasile <[email protected]> * params: zero allocation for empty params Signed-off-by: Alexandru Vasile <[email protected]> * examples: Add copyright back Signed-off-by: Alexandru Vasile <[email protected]> * traits: Remove empty doc line Signed-off-by: Alexandru Vasile <[email protected]> * Update core/src/traits.rs Co-authored-by: James Wilson <[email protected]> * Update core/src/traits.rs Co-authored-by: James Wilson <[email protected]> * examples: Restore `proc_macro` example to origin/master Signed-off-by: Alexandru Vasile <[email protected]> * core: Remove empty case for `rpc_params` macro Signed-off-by: Alexandru Vasile <[email protected]> Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: Niklas Adolfsson <[email protected]> Co-authored-by: James Wilson <[email protected]>
-
- Sep 01, 2022
-
-
Alexander Polakov authored
-
- Aug 29, 2022
-
-
Niklas Adolfsson authored
-
- Aug 24, 2022
-
-
Alexandru Vasile authored
Signed-off-by: Alexandru Vasile <[email protected]> Signed-off-by: Alexandru Vasile <[email protected]>
-
Alexandru Vasile authored
* middleware: Proxy `GET /path` requests to internal methods Signed-off-by: Alexandru Vasile <[email protected]> * middleware: Modify the response for proxies Signed-off-by: Alexandru Vasile <[email protected]> * examples: Add `ProxyRequestLayer` example for URI redirection Signed-off-by: Alexandru Vasile <[email protected]> * http: Remove internal Health API Signed-off-by: Alexandru Vasile <[email protected]> * middleware: Replace `ResponseFuture` with pinning Signed-off-by: Alexandru Vasile <[email protected]> * middleware: Use `Uri::from_static` and `RequestSer` for body message Signed-off-by: Alexandru Vasile <[email protected]> * middleware: Use `Arc<str>` instead of `String` Signed-off-by: Alexandru Vasile <[email protected]> * Rename `ProxyRequest` to `ProxyGetRequest` and rename mod to `middleware` Signed-off-by: Alexandru Vasile <[email protected]> * middleware: Improve docs Signed-off-by: Alexandru Vasile <[email protected]> * middleware: Fail if path does not start with `/` Signed-off-by: Alexandru Vasile <[email protected]> * http-server: Remove pin project dependency Signed-off-by: Alexandru Vasile <[email protected]> * Rename `proxy_request.rs` to `proxy_get_request.rs` Signed-off-by: Alexandru Vasile <[email protected]> Signed-off-by: Alexandru Vasile <[email protected]>
-