1. 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
  2. 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
  3. Sep 06, 2022
  4. Aug 24, 2022
  5. Aug 11, 2022
  6. Jul 29, 2022
  7. Jul 21, 2022
    • James Wilson's avatar
      chore(release): v0.15.0 (#827) · e7dc80d0
      James Wilson authored
      * Add generate_changelog and adapt release checklist from subxt to make the process a little easier
      
      * prepare to releasse v0.15.0
      
      * release checklist tweak
      
      * fix numbers in release checklist
      
      * Add details about #820 to changelog
      v0.15.0
      e7dc80d0
  8. Jun 29, 2022
  9. Jun 27, 2022
  10. Jun 14, 2022
  11. May 13, 2022
  12. May 11, 2022
  13. May 06, 2022
  14. May 03, 2022
  15. Apr 21, 2022
  16. Apr 20, 2022
  17. Apr 05, 2022
    • Niklas Adolfsson's avatar
      chore(release): v0.10.1 (#727) · 5c8f1f77
      Niklas Adolfsson authored
      * refactor(log): downgrade send errors to warn
      
      These logs are most likely related to that the client terminated the connection
      and they come with significant overhead.
      
      * chore(release): v0.10.1
      v0.10.1
      5c8f1f77
  18. Apr 04, 2022
  19. Apr 01, 2022
    • Niklas Adolfsson's avatar
      feat(http server): add new builder APIs `build_from_tcp` and `build_from_hyper` (#719) · 34c2fbef
      Niklas Adolfsson authored
      * unify servers; use tokio::TcpListener
      
      * add API to build server from tcp socket
      
      * build_from_tcp nit: not async
      
      * fix nits
      
      * change `build_from_tcp` force users configure hyper
      
      The hyper settings might contradict to settings on the provided
      socket, force users of this API to configure that avoid confusion and
      unexpected settings.
      
      * Update http-server/src/server.rs
      
      * fix doc links
      
      * add separate APIs `build_from_tcp` and `build_from_hyper`
      
      * fix clippy
      
      * remove dead code
      
      * fix build
      
      * fix nit in example code
      34c2fbef
  20. Feb 03, 2022
  21. Jan 21, 2022
  22. Dec 22, 2021
  23. Dec 20, 2021
    • Niklas Adolfsson's avatar
      extract async client abstraction. (#580) · 292bd88a
      Niklas Adolfsson authored
      
      
      * extract ws client to async client
      
      * bring back jsonrpsee-ws-client crate
      
      * new crate core client
      
      * add missing file
      
      * jsonrpsee crate: add core client
      
      * rexport core client
      
      * more re-exports
      
      * downgrade trait bounds
      
      * update version
      
      * fix nits
      
      * send close reason
      
      * Update types/src/traits.rs
      
      * move 'TEN_MB_CONST' to core
      
      * Update client/core-client/Cargo.toml
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update client/core-client/src/lib.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * cargo fmt
      
      * Update client/ws-client/src/lib.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update client/ws-client/src/lib.rs
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * move `async-client` core
      
      The `async-client` is hidden behind a new feature flag `async-client`
      because it brings in additional dependecies such as tokio rt.
      
      * fix docs
      
      * add example how to use "core client"
      
      * fix build
      
      * Update http-server/Cargo.toml
      
      * Update client/transport/Cargo.toml
      
      Co-authored-by: default avatarDavid <[email protected]>
      292bd88a
  24. Dec 17, 2021
    • Maciej Hirsz's avatar
      Crate restructuring (#590) · e159c449
      Maciej Hirsz authored
      
      
      * Nuke V2
      
      * fmt
      
      * Formatting and imports
      
      * Updated benches
      
      * Fix doc comment link
      
      * Brace imports in ws-server
      
      * Reworking imports
      
      * std first
      
      * fmt
      
      * std on top
      
      * Update to match changed line numbers
      
      * Rename jsonrpsee_utils -> jsonrpsee_core
      
      * Migrating things types -> core
      
      * RpcError -> ErrorResponse
      
      * Merge types::client into core::client
      
      * Continued move types -> core
      
      * Removing features to make checks pass
      
      * Move rpc_module tests to tests crate
      
      * Fixed doc comment links
      
      * Add futures-util dependency for client
      
      * Remove dead code
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      
      * fmt
      
      * Feature gate the Client trait
      
      * Move `Client` traits to `client` module
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      e159c449
  25. Dec 10, 2021
  26. Dec 09, 2021
  27. Dec 02, 2021
    • Alexander Samusev's avatar
      Create gitlab pipeline (#534) · 66aa6c49
      Alexander Samusev authored
      
      
      * add badge to readme
      
      * first version of pipeline
      
      * Update .gitlab-ci.yml
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      
      * add pre-cache script
      
      * fmt and clippy stable
      
      * add check and test
      
      * remove output text file from bench
      
      * Update scripts/ci/pre_cache.sh
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update .gitlab-ci.yml
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      
      * small fix
      
      * fix test and schedule
      
      * CI: verbose is a surplus
      
      * CI: separately check rustdoc linx
      
      * fix refs
      
      * add bench to gh-pages
      
      * fix refs
      
      * fix benchmarks
      
      * added vault to ci
      
      * fix vars
      
      * comment bench
      
      * fix benches name
      
      * added script to push benchmark results to VM
      
      * make script executable
      
      * change bench psuh executor
      
      * changed benchmark task to run on a dedicated node pool
      
      * change prometheus metric name for benchmarks
      
      * send 2 metrics with benchmark results
      
      * disable non-schedule jobs from schedule run
      
      * empty commit for benchmark test
      
      * change metric name
      
      * empty commit for benchmark test
      
      * empty commit for benchmark test
      
      * add cirunner label to vm metric
      
      * split vm metric to 2 metrics
      
      * change runner description to runner tag in ci scripts
      
      * add pass runner tags from benchmark to publish job
      
      * change runner tag to runner description
      
      * add debug message
      
      * empty commit for test
      
      * empty commit for test
      
      * Update .scripts/ci/push_bench_results.sh
      
      Co-authored-by: default avatarDenis Pisarev <[email protected]>
      
      * add defaults, remove dups, change ci image for publish-bench
      
      * remove pre_cache.sh
      
      * move interruptible to defaults
      
      * add issue to fixme comment
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      Co-authored-by: default avatarDavid <[email protected]>
      Co-authored-by: default avatarDenis P <[email protected]>
      Co-authored-by: default avatarDenis Pisarev <[email protected]>
      66aa6c49
  28. Dec 01, 2021
  29. Nov 26, 2021
  30. Nov 24, 2021
  31. Nov 19, 2021
  32. Nov 17, 2021
  33. Nov 08, 2021