1. 04 Jun, 2021 3 commits
    • David's avatar
      Release prep for v0.2 (#368) · b3a0748b
      David authored
      * Release prep
      
      * Mention proc macro limitations
      
      * Mention publish script
      b3a0748b
    • Niklas Adolfsson's avatar
      chore(scripts): publish script (#354) · a3feec75
      Niklas Adolfsson authored
      * chore(scripts): publish script
      
      * use script from jsonrpc
      a3feec75
    • Niklas Adolfsson's avatar
      [rpc module]: server-side close subscription (#355) · b987b811
      Niklas Adolfsson authored
      
      
      * [rpc module]: server-side close subscription
      
      Add functionality that closes the subscription after the sink has been dropped.
      
      * [integration tests]: add timeout on futures
      
      * remove global subscriber mutex
      
      * fix nit
      
      * [client types]: fix #349
      
      Subscription::next() propogate error when parsing the response fails
      
      * [client types]: fix #349
      
      Subscription::next() propogate error when parsing the response fails
      
      * unify subscription and notification
      
      * rename again
      
      * send notif response when subscription is dropped
      
      * stray debug stuff
      
      * Update utils/src/server/rpc_module.rs
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * Revert "[client types]: fix #349"
      
      This reverts commit c4fefade719ebd8c964a62d0eb16f89db3346ccd.
      
      * Revert "[integration tests]: add timeout on futures"
      
      This reverts commit 21dfb99649aaaa8c847a693b4510e0202498fa2c.
      
      * show that actual edge-case
      
      * fix nit
      
      * Update types/src/traits.rs
      
      * fix bad merge
      
      * ugly; but works
      
      * complete solution
      
      * get rid of Option
      
      * Update tests/tests/integration_tests.rs
      
      * Update utils/src/server/rpc_module.rs
      
      * Update utils/src/server/rpc_module.rs
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * grumbles: fix faulty early return
      
      * remove weird abstraction KeepAlive
      
      * fix nits
      
      * revert test timeouts
      
      * address grumbles
      
      * fix build
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      b987b811
  2. 03 Jun, 2021 3 commits
    • Niklas Adolfsson's avatar
      [ws client]: fix propogate error in subscription response (#356) · ccc07c79
      Niklas Adolfsson authored
      
      
      * [client types]: fix #349
      
      Subscription::next() propogate error when parsing the response fails
      
      * unify subscription and notification
      
      * rename again
      
      * Update types/src/traits.rs
      
      * fix bad merge
      
      * Update types/src/client.rs
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * grumbles: subscribe_method -> subscribe_to_method
      
      * Update tests/tests/integration_tests.rs
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * grumbles: doc links
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      ccc07c79
    • David's avatar
      Add a builder to the ws server (#365) · fa1f9e0e
      David authored
      * Add a builder to the ws server
      
      * Use the WsServerBuilder in tests&examples
      
      * cleanup
      
      * fmt
      
      * Fix benches
      
      * fix error message
      
      * Add connection count limiting and associated config item
      
      * Use the strong_count to `methods` to know how many connections we currently have
      
      * Fix test
      fa1f9e0e
    • Igor Aleksanov's avatar
      Stick code to a single runtime (#364) · e34e28f2
      Igor Aleksanov authored
      
      
      * Stick test code to a single runtime
      
      * Replace async-std in ws-client with tokio
      
      * Replace std::thread::sleep with tokio::time::sleep in test
      
      * Add compatibility layer for tokio v0.2
      
      * Add check for both features being enabled + some improvements
      
      * Update ws-client/src/tokio.rs
      
      Co-authored-by: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      e34e28f2
  3. 02 Jun, 2021 4 commits
  4. 01 Jun, 2021 3 commits
  5. 31 May, 2021 2 commits
  6. 28 May, 2021 2 commits
  7. 27 May, 2021 5 commits
  8. 25 May, 2021 1 commit
    • Niklas Adolfsson's avatar
      [ws client]: parse `path` from the URL (#335) · a60896e1
      Niklas Adolfsson authored
      * [ws client]: parse `path` from the URL
      
      This commit changes that the path/HTTP resource path is parsed from the URL and removes that option
      from WsClientBuilder.
      
      * address grumbles: introduce `RemoteWsTarget` type.
      
      * grumbles: RemoteWsTarget -> Target
      
      * cargo fmt
      a60896e1
  9. 24 May, 2021 1 commit
  10. 22 May, 2021 1 commit
    • Igor Aleksanov's avatar
      Add timeouts to the futures in tests (#332) · 2f234a03
      Igor Aleksanov authored
      * Add extension trait to timeout the futures execution
      
      * Use timeout for ws-server tests
      
      * Use timeout for ws-client tests
      
      * Use timeout for http-server tests
      
      * Use timeout for http-client tests
      
      * Make TimeoutFutureExt interafaces more explicit
      2f234a03
  11. 21 May, 2021 2 commits
  12. 19 May, 2021 2 commits
  13. 18 May, 2021 1 commit
  14. 17 May, 2021 1 commit
    • Albin Hedman's avatar
      Add certificate_store() to WsClientBuilder (#321) · 8780fcef
      Albin Hedman authored
      * Add custom_certificate to WsClientBuilder
      
      * Use system certs instead of specified file
      
      * Cache client_config
      
      * Move client_config logic to fn build
      
      * Default use_system_certificates to true
      
      * Move out connector
      
      * Add CertificateStore type
      
      * cargo fmt
      
      * cargo clippy
      
      * Resolve comment: Rename variable
      
      * Resolved comments
      8780fcef
  15. 14 May, 2021 1 commit
  16. 12 May, 2021 6 commits
  17. 11 May, 2021 2 commits