1. 20 Dec, 2021 1 commit
    • 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: David's avatarDavid <dvdplm@gmail.com>
      
      * Update client/core-client/src/lib.rs
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * cargo fmt
      
      * Update client/ws-client/src/lib.rs
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * Update client/ws-client/src/lib.rs
      
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      
      * 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: David's avatarDavid <dvdplm@gmail.com>
      292bd88a
  2. 17 Dec, 2021 1 commit
    • 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: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      
      * fmt
      
      * Feature gate the Client trait
      
      * Move `Client` traits to `client` module
      
      Co-authored-by: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      e159c449
  3. 15 Dec, 2021 2 commits
  4. 14 Dec, 2021 3 commits
  5. 13 Dec, 2021 1 commit
  6. 10 Dec, 2021 4 commits
  7. 09 Dec, 2021 2 commits
  8. 08 Dec, 2021 1 commit
  9. 07 Dec, 2021 1 commit
  10. 06 Dec, 2021 2 commits
  11. 02 Dec, 2021 1 commit
    • 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: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      
      * 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: David's avatarDavid <dvdplm@gmail.com>
      
      * Update .gitlab-ci.yml
      
      Co-authored-by: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      
      * 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 <17856421+TriplEight@users.noreply.github.com>
      
      * 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: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      Co-authored-by: David's avatarDavid <dvdplm@gmail.com>
      Co-authored-by: Denis_P's avatarDenis P <denis.pisarev@parity.io>
      Co-authored-by: default avatarDenis Pisarev <17856421+TriplEight@users.noreply.github.com>
      66aa6c49
  12. 01 Dec, 2021 3 commits
  13. 30 Nov, 2021 1 commit
  14. 29 Nov, 2021 1 commit
  15. 26 Nov, 2021 1 commit
  16. 25 Nov, 2021 2 commits
  17. 24 Nov, 2021 1 commit
  18. 23 Nov, 2021 1 commit
  19. 22 Nov, 2021 1 commit
  20. 21 Nov, 2021 1 commit
    • Alexandru Vasile's avatar
      proc-macros: Support deprecated methods for rpc client (#570) · 9a3c1e98
      Alexandru Vasile authored
      * proc-macros: Fix documentation typo of `rpc_identifier`
      
      * proc-macros: Support deprecated methods for rpc client (#564)
      
      Calling a deprecated method of the RPC client should warn
      the user at compile-time.
      
      Extract the `#[deprecated]` macro as is while parsing the
      RpcMethod, and pass through the macro to the RPC client
      rendering.
      
      * tests/ui: Check deprecated method for rpc client (#564)
      
      To ensure that the test will fail during compilation,
      warnings are denied.
      
      Check that the deprecate macro will generate warnings
      just for the methods that are utilized.
      9a3c1e98
  21. 19 Nov, 2021 1 commit
  22. 18 Nov, 2021 2 commits
  23. 17 Nov, 2021 2 commits
  24. 11 Nov, 2021 3 commits
  25. 10 Nov, 2021 1 commit