1. Nov 08, 2022
  2. Nov 07, 2022
    • Niklas Adolfsson's avatar
      [client]: improve batch request API (#910) · 824c3691
      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
      824c3691
    • Niklas Adolfsson's avatar
      chore(deps): tokio ^1.16 (#926) · 576d8379
      Niklas Adolfsson authored
      576d8379
    • Niklas Adolfsson's avatar
      fix(server): read accepted conns properly (#929) · 1f6368d2
      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.
      1f6368d2
  3. Nov 04, 2022
  4. Nov 03, 2022
  5. Oct 26, 2022
  6. Oct 18, 2022
  7. Oct 17, 2022
  8. Oct 16, 2022
  9. Oct 13, 2022
  10. Oct 10, 2022
  11. Oct 07, 2022
  12. Oct 05, 2022
  13. Oct 04, 2022
  14. Sep 30, 2022
  15. Sep 28, 2022
  16. Sep 27, 2022
  17. Sep 24, 2022
  18. Sep 23, 2022
    • Niklas Adolfsson's avatar
      more stable benches (#883) · 66d65210
      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
      66d65210
  19. Sep 16, 2022
    • Niklas Adolfsson's avatar
      fix(tracing): use tracing instrument macro (#846) · 1efd5aea
      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
      1efd5aea
  20. Sep 15, 2022
    • Niklas Adolfsson's avatar
      fix(http client): more user-friendly error messages when decoding fails (#853) · 94795309
      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
      94795309
  21. Sep 13, 2022
    • Niklas Adolfsson's avatar
      replace `WS and HTTP servers` with a server that supports both `WS and HTTP` (#863) · bf73876d
      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: default avatarAlexandru Vasile <[email protected]>
      
      * Update server/src/future.rs
      
      Co-authored-by: default avatarAlexandru 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: default avatarAlexandru Vasile <[email protected]>
      
      * Update server/src/future.rs
      
      Co-authored-by: default avatarAlexandru Vasile <[email protected]>
      
      Co-authored-by: default avatarAlexandru Vasile <[email protected]>
      bf73876d
  22. Sep 06, 2022
  23. Sep 01, 2022
  24. Aug 29, 2022
  25. Aug 24, 2022
  26. Aug 17, 2022
  27. Aug 16, 2022