1. 06 May, 2022 1 commit
  2. 04 May, 2022 1 commit
  3. 03 May, 2022 2 commits
  4. 29 Apr, 2022 2 commits
    • Niklas Adolfsson's avatar
      fix(rpc module): close subscription task when a subscription is `unsubscribed`... · 8e945de4
      Niklas Adolfsson authored
      fix(rpc module): close subscription task when a subscription is `unsubscribed` via the `unsubscribe call` (#743)
      
      * refactor: remove SubscriptionSink::inner_send
      
      * fix: close running task if unsubscribed
      
      * Update core/src/server/rpc_module.rs
      
      * Update core/src/server/rpc_module.rs
      
      * fix nits
      
      * Update core/src/server/rpc_module.rs
      
      * add test for canceling subscriptions
      
      * print subscription info; once per minute
      
      * revert closure stuff
      
      * Revert "print subscription info; once per minute"
      
      This reverts commit 366176a8
      
      .
      
      * use tokio::sync::watch instead of oneshot
      
      The receiver is clonable and it's possible to check whether the sender is still alive
      
      * Update tests/tests/helpers.rs
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * grumbles: use unwrap in tests
      
      * add test for reuse pipe_from_stream
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      8e945de4
    • Sergejs Kostjucenko's avatar
      remove vault from ci (#745) · 9decd23c
      Sergejs Kostjucenko authored
      9decd23c
  5. 21 Apr, 2022 3 commits
  6. 20 Apr, 2022 2 commits
    • Niklas Adolfsson's avatar
      feat: WASM client via web-sys transport (#648) · 20e6e5de
      Niklas Adolfsson authored
      
      
      * feat: untested web-sys transport
      
      * rewrite me
      
      * make it work
      
      * add hacks and works :)
      
      * add subscription test too
      
      * revert StdError change; still works
      
      * cleanup
      
      * remove hacks
      
      * more wasm tests outside workspace
      
      * kill mutually exclusive features
      
      * merge nits
      
      * remove unsafe hack
      
      * fix nit
      
      * core: fix features and deps
      
      * ci: add WASM test
      
      * test again
      
      * work work
      
      * comeon
      
      * work work
      
      * revert unintentional change
      
      * Update core/Cargo.toml
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * Update core/src/client/async_client/mod.rs
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * revert needless change: std hashmap + fxhashmap works
      
      * cleanup
      
      * extract try_connect_until fn
      
      * remove todo
      
      * fix bad merge
      
      * add wasm client wrapper crate
      
      * fix nits
      
      * use gloo-net dependency
      
      * fix build
      
      * grumbles CI: rename to `wasm_tests`
      
      * fix bad merge
      
      * fix grumbles
      
      * fix nit
      
      * comeon CI
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      20e6e5de
    • Niklas Adolfsson's avatar
      fix(rpc module): fail subscription calls with bad params (#728) · 9fa817d9
      Niklas Adolfsson authored
      
      
      * fix(rpc module): fail subscription with bad params
      
      * draft; show my point
      
      * fix tests
      
      * fix build
      
      * add tests for proc macros too
      
      * add tests for bad params in proc macros
      
      * fix nits
      
      * commit all files
      
      * add ugly fix for proc macro code
      
      * add more user friendly API
      
      * make SubscriptionSink::close take mut self
      
      * fix grumbles
      
      * show james some code
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      
      * remove needless clone
      
      * fix build
      
      * client fix docs + error type
      
      * simplify code: merge connect reset and unsubscribe close reason
      
      * remove unknown close reason
      
      * refactor: remove Error::SubscriptionClosed
      
      * add some nice APIs to ErrorObjectOwned
      
      * unify api
      
      * address grumbles
      
      * remove redundant methods for close and reject
      
      * proc macro: compile err when subscription -> Result
      
      * rpc module: fix test subscription test
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      
      * Update proc-macros/src/lib.rs
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      
      * address grumbles
      
      * remove faulty comment
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * Update core/src/server/rpc_module.rs
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * fix: don't send `RPC Call failed: error`.
      
      * remove debug assert
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      9fa817d9
  7. 12 Apr, 2022 1 commit
  8. 05 Apr, 2022 4 commits
  9. 04 Apr, 2022 2 commits
  10. 02 Apr, 2022 1 commit
    • Niklas Adolfsson's avatar
      [examples]: update pubsub examples (#705) · 961e6bd5
      Niklas Adolfsson authored
      * update pubsub examples
      
      * Update examples/ws_subscription.rs
      
      * remove some docs
      
      * remove needless clone
      
      * simplify example
      
      * simplify code with async-broadcast channel
      
      * use tokio broadcast for smaller dependency tree
      
      * Update examples/ws_pubsub_broadcast.rs
      961e6bd5
  11. 01 Apr, 2022 3 commits
  12. 30 Mar, 2022 1 commit
  13. 29 Mar, 2022 1 commit
  14. 28 Mar, 2022 1 commit
  15. 22 Mar, 2022 1 commit
  16. 09 Mar, 2022 1 commit
  17. 02 Mar, 2022 1 commit
  18. 22 Feb, 2022 1 commit
  19. 18 Feb, 2022 2 commits
  20. 16 Feb, 2022 2 commits
  21. 11 Feb, 2022 1 commit
  22. 09 Feb, 2022 1 commit
  23. 03 Feb, 2022 1 commit
  24. 01 Feb, 2022 1 commit
  25. 31 Jan, 2022 1 commit
  26. 25 Jan, 2022 1 commit
  27. 21 Jan, 2022 1 commit