1. May 31, 2021
  2. May 28, 2021
  3. May 27, 2021
  4. May 25, 2021
    • 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
  5. May 24, 2021
  6. May 22, 2021
    • 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
  7. May 21, 2021
  8. May 19, 2021
  9. May 18, 2021
  10. May 17, 2021
    • 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
  11. May 14, 2021
  12. May 12, 2021
  13. May 11, 2021
  14. May 07, 2021
  15. May 04, 2021
    • Niklas Adolfsson's avatar
      [servers] return error if context or params fails (#295) · b51abeca
      Niklas Adolfsson authored
      * ret err if context/params fails
      
      * address grumbles: specific error_code context fail
      
      * address grumbles: make env_logger dev-dependency
      
      * address grumbles: add tests
      
      * chore(deps): remove unused deps
      
      * address grumbles: rename types and docs
      
      * address grumbles: more renaming.
      
      * fix build
      b51abeca
    • David's avatar
      [http server] Batch requests (#292) · 2cae10b6
      David authored
      
      
      * WIP
      
      * Implement draft of batch requests
      
      * fmt
      
      * cleanup
      
      * Explain why we don't use an untagged enum
      
      * Avoid allocating a Vec for single requets
      
      * Add comment
      
      * Add a benchmark for batch requests
      
      * Add more tests, noting where we diverge from the spec
      Fix empty batch case, i.e. `[]`
      
      * Obey the fmt
      
      * Update benches/bench.rs
      
      Co-authored-by: default avatarAndrew Plaza <[email protected]>
      
      * Update http-server/src/server.rs
      
      Co-authored-by: default avatarAndrew Plaza <[email protected]>
      
      * Add link to issue
      
      * Explain why we're closing the receiving end of the channel.
      
      * Limit logging of requests and response to 1kb
      Add more comments
      Factor out batch response collection
      
      * Wrap comment
      
      * tweak log line
      
      * Benchmark batch request over different batch sizes
      
      * fmt
      
      Co-authored-by: default avatarAndrew Plaza <[email protected]>
      2cae10b6
  16. Apr 30, 2021
  17. Apr 29, 2021
  18. Apr 28, 2021
  19. Apr 27, 2021
  20. Apr 26, 2021
    • Niklas Adolfsson's avatar
      [types]: allow `data` field in jsonrpc error obj. (#286) · 187ee5e9
      Niklas Adolfsson authored
      * [types]: allow `data` field in jsonrpc error obj.
      
      * fmt
      
      * revert change to make fail
      
      * remove redundant test
      
      * [types]: bring back `data` and `message` in error.
      
      Basically deducing the error message from server defined error doesn't work
      and we should not strip out this information from to user which might be useful.
      
      * remove boiler plate code
      
      * [types]: impl From<ErrorCode> for JsonRpcError
      
      * address grumbles
      
      * remove more boiler plate
      187ee5e9
    • David's avatar
      Use SeqCst everywhere (#289) · fb6b34be
      David authored
      I went over all the atomic operations and realised I could not convince myself that all uses of `Relaxed` were ok, so better safe than sorry: let's switch to `SeqCst`.
      fb6b34be
    • Niklas Adolfsson's avatar
      [ci]: bring back rustdoc check. (#287) · c450f106
      Niklas Adolfsson authored
      c450f106
  21. Apr 24, 2021
  22. Apr 21, 2021