- 23 May, 2023 1 commit
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.3.0 to 2.4.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.3.0...v2.4.0 ) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 20 May, 2023 1 commit
-
-
Niklas Adolfsson authored
-
- 18 May, 2023 2 commits
-
-
Niklas Adolfsson authored
fix(server): remove `MethodSinkPermit` to fix backpressure issue on concurrent subscriptions (#1126) * fix(server): don't use `Permit` for responses After a method call has been received, this PR doesn't keep the `Permit` anymore and requires each response to await for a slot in the mpsc buffer. This is especially important for subscriptions which previously two slots were unintentionally required because the server kept one around until the subscription was "accepted" and the subscription itself waited for a slot. If many concurrent subscriptions were received "concurrently" and "filled" the buffer no subscription could make progress. * cleanup code * Update server/src/transport/ws.rs Co-authored-by:
James Wilson <james@jsdw.me> * Update core/src/server/helpers.rs Co-authored-by:
James Wilson <james@jsdw.me> * cargo fmt --------- Co-authored-by:
James Wilson <james@jsdw.me>
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.2.1 to 2.3.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.2.1...v2.3.0 ) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 17 May, 2023 1 commit
-
-
Niklas Adolfsson authored
-
- 16 May, 2023 1 commit
-
-
Xiliang Chen authored
-
- 15 May, 2023 1 commit
-
-
Kolby Moroz Liebl authored
* Add Trin to users and sort list alphabetically * fix link --------- Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com>
-
- 10 May, 2023 2 commits
-
-
Tadeo Hepperle authored
* add changelog and bump version * implement mistakes
-
Niklas Adolfsson authored
* server: re-export BatchRequestConfig * Update server/src/server.rs Co-authored-by:
Alexandru Vasile <60601340+lexnv@users.noreply.github.com> * cargo fmt --------- Co-authored-by:
Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
-
- 02 May, 2023 2 commits
-
-
Niklas Adolfsson authored
* fix(server): improve too big batch response msg * adjust tests * fix tests
-
Niklas Adolfsson authored
-
- 27 Apr, 2023 2 commits
-
-
Niklas Adolfsson authored
* chore: release v0.18.1 * fix(ws server): fix flaky shutdown test * adjust changelog for #1103 * Update CHANGELOG.md
-
Niklas Adolfsson authored
* fix(ws server): fix flaky shutdown test * Update server/src/transport/ws.rs * Update server/src/transport/ws.rs * fix interval stream bug * Update server/src/transport/ws.rs * Update server/src/transport/ws.rs * Update server/src/transport/ws.rs * Update server/src/transport/ws.rs * check conn_tx.closed as well * add more tests + cleanup * fix nit * Update server/src/tests/ws.rs * add comment in weird test * rewrite tests without sleeps * remove needless result * fix compile warn
-
- 26 Apr, 2023 2 commits
-
-
Tadeo Hepperle authored
-
Niklas Adolfsson authored
* rpc module: fix race in subscription close callback * use futures::future::try_join * fix bad test
-
- 25 Apr, 2023 1 commit
-
-
Niklas Adolfsson authored
-
- 24 Apr, 2023 2 commits
-
-
Niklas Adolfsson authored
* chore: release v0.18.0 * add PR link in the release * link to latest in README * fix rust example * Update CHANGELOG.md * Update CHANGELOG.md * update changelog
-
Niklas Adolfsson authored
* fix(proc macros): support parsing params !Result * revert unintentional change
-
- 21 Apr, 2023 3 commits
-
-
Niklas Adolfsson authored
* refactor: remove `CallError` * use error msg in InvalidParams * fix tests * remove unused dependency anyhow * Update core/src/error.rs * Update core/src/lib.rs * Update core/src/lib.rs * fix nit * fix error object display impl * remove invalid params * Update proc-macros/tests/ui/correct/only_client.rs Co-authored-by:
Alexandru Vasile <60601340+lexnv@users.noreply.github.com> * fix UI tests on new rustc * invalid params: strictly jsonrpc spec * grumbles: unify type hints --------- Co-authored-by:
Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
* server: fix http graceful shutdown * cleanup code * add comment about graceful shutdown * fix UI tests on new rustc * better explaination * address grumbles * Update server/src/server.rs * Update server/src/server.rs * Update server/src/server.rs * fix nit
-
- 17 Apr, 2023 3 commits
-
-
Niklas Adolfsson authored
* update version number Signed-off-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com> * update changelog * Update CHANGELOG.md * Update CHANGELOG.md * fix nits * more nits * Update CHANGELOG.md * update changelog again * Update CHANGELOG.md Co-authored-by:
James Wilson <james@jsdw.me> * Update CHANGELOG.md Co-authored-by:
James Wilson <james@jsdw.me> * address grumbles * add more examples for pipe_from_stream * update CHANGELOG * update CHANGELOG * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md * update CHANGELOG --------- Signed-off-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by:
James Wilson <james@jsdw.me>
-
Niklas Adolfsson authored
* replace FutureDriver with mpsc and tokio::task * tokio spawn for calls * refactor round trip for multiple calls * cleanup * cleanup * ws server: reject calls > 127 starting whitespaces * fix clippy
-
Niklas Adolfsson authored
* replace FutureDriver with mpsc and tokio::task * tokio spawn for calls * refactor round trip for multiple calls * cleanup * cleanup * fix graceful shutdown * minor tweaks * add test for graceful shutdown * add test for #585 * compile warn * fix nit
-
- 14 Apr, 2023 2 commits
-
-
James Wilson authored
-
dependabot[bot] authored
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2. - [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.5.0...v3.5.2 ) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 13 Apr, 2023 6 commits
-
-
Niklas Adolfsson authored
* Update Cargo.toml * docs: add keywords publishing on crates.io Close #970 * workspace: version and authors * use workspace dependencies to avoid speciyfing version * Update Cargo.toml
-
Niklas Adolfsson authored
* feat(server): configurable limit for batch requests. * Update server/src/server.rs * Update server/src/server.rs
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
Niklas Adolfsson authored
-
- 11 Apr, 2023 1 commit
-
-
Niklas Adolfsson authored
* IntoResponse trait for rpc calls * remove ErrorResponse * cleanup, fix nits * separate types from ser/deserialization * fix uncommented code * add Success type * add missing dev-dep * fix tests with issue link * fix tests * add missing file * PartialResponse -> ResponsePayload * chore(deps): bump actions/checkout from 3.4.0 to 3.5.0 (#1055) Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.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.4.0...v3.5.0 ) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump baptiste0928/cargo-install from 1 to 2 (#1056) Bumps [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install) from 1 to 2. - [Release notes](https://github.com/baptiste0928/cargo-install/releases) - [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md) - [Commits](https://github.com/baptiste0928/cargo-install/compare/v1...v2 ) --- updated-dependencies: - dependency-name: baptiste0928/cargo-install dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: tokio v1.27 (#1062) * fix: tokio v1.27 * Update server/src/transport/ws.rs * fix rustdoc * Update server/src/transport/ws.rs * Update server/src/transport/ws.rs * no more futuredriver for incoming conns * add comment for unclear code * ResponsePayload Cow-like * fix ugly code * cleanup * address grumbles * ToOwned -> Clone * compile-time tests to workaround rustc bug * Update proc-macros/src/helpers.rs * add missing impls for Vec and [T; N] --------- Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 30 Mar, 2023 1 commit
-
-
Niklas Adolfsson authored
* fix: tokio v1.27 * Update server/src/transport/ws.rs * fix rustdoc * Update server/src/transport/ws.rs * Update server/src/transport/ws.rs * no more futuredriver for incoming conns * add comment for unclear code
-
- 24 Mar, 2023 2 commits
-
-
dependabot[bot] authored
Bumps [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install) from 1 to 2. - [Release notes](https://github.com/baptiste0928/cargo-install/releases) - [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md) - [Commits](https://github.com/baptiste0928/cargo-install/compare/v1...v2 ) --- updated-dependencies: - dependency-name: baptiste0928/cargo-install dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.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.4.0...v3.5.0 ) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 23 Mar, 2023 1 commit
-
-
Niklas Adolfsson authored
* refactor subscription to return `Option<Result<>>` * address grumbles: change to Result<(), Option<M>> This changes the subscription API again to return `Result<(), Option<SubscriptionMessage>>` to work a little smoother with the combinators and it introduces an extention trait to make convert it `Result<T, Error>` to `Result<T, Option<SubscriptionMessage>>` This trait is implemented for types where it is possible and for custom types and tricky situations the user has to implement themselves. For instance it's not possible to implement on `TrySendError` because that depends on the use-case i.e. whether the channel is full should be regarded as an error or not. * remove weird default errors * fix tests * revert weird trait * introduce `IntoSubscriptionResult` * refactor: introduce subscription mod * impl StdError for subscription error types * fix nits + tests * fix doc tests * remove deadcode * Update server/src/tests/ws.rs * cleanup to make review easier * SubscriptionAcceptError -> PendingSubscriptionAcceptError * make it clear that SubscriptionPermit is mocked * remove deadcode * fix doc links * make register_subscription more readable * remove Option impl for IntoSubscriptionCloseResponse * fix tests * add test for subscription return type * fix nits * impl `IntoSubscriptionCloseResponse` for () * remove useless ui test * Update core/src/server/error.rs * register_subscription: change order of parameters * Update core/src/server/error.rs * Update proc-macros/src/lib.rs * fix doc link * proc macro: compile test for !Result * hacky solution * add niklas ugly hack for providing default value * fix hacks * cargo fmt * Update core/src/server/subscription.rs Co-authored-by:
James Wilson <james@jsdw.me> * fix grumbles * fix tests * add test for null notification * impl IntoSubscriptionResponse for Result<(), E> * more descriptive error impls * Update core/src/server/subscription.rs Co-authored-by:
James Wilson <james@jsdw.me> * update docs: Subscription::next * revert UI tests * proc macro tests: add subscription -> () * remove unused tokio feature * show failing test * fix tests * revert JSON str parsing * add `SerializeAsStr` error * show James * push hack to show James what I mean * SubscriptionResult = Result<(), StringError> * fix tests * address grumbles * Update core/src/server/subscription.rs * Update proc-macros/src/lib.rs * Update proc-macros/src/lib.rs * remove unused error variant SubscriptionCallbackError --------- Co-authored-by:
James Wilson <james@jsdw.me>
-
- 21 Mar, 2023 1 commit
-
-
Niklas Adolfsson authored
-
- 16 Mar, 2023 2 commits
-
-
dependabot[bot] authored
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.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.3.0...v3.4.0 ) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Giovanni Napoli authored
* use `Option` for `jsonrpc` field in `Response` * add tests for serializing/deserializing `Response` * cargo fmt * manage missing field in serializing
-