1. 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
  2. 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
  3. Feb 26, 2020
  4. Feb 19, 2020
  5. Jan 09, 2020
    • Andrew Jones's avatar
      Update to stable futures (#77) · 3090cd82
      Andrew Jones authored and Pierre Krieger's avatar Pierre Krieger committed
      
      
      * Update to stable futures
      
      * Fix breaking hyper and tokio changes
      
      * Fix breaking soketto changes
      
      * Try to fix hyper update errors
      
      * Fix remaining hyper compilation error
      
      * Update futures timer
      
      * Update to tokio 0.2
      
      * Enable basic_scheduler
      
      * Enable logging in example
      
      * Bind server inside runtime context
      
      * Format code
      
      * Return error via channel if async server bind fails
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      
      * Question mark
      
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      3090cd82
  6. Jan 03, 2020
  7. Jan 02, 2020
  8. Nov 22, 2019
  9. Nov 21, 2019
  10. Nov 19, 2019
  11. Nov 18, 2019
    • Pierre Krieger's avatar
      Apply Rustfmt and add a CI check (#63) · 78ce41f8
      Pierre Krieger authored
      * Apply Rustfmt and add a CI check
      
      * Install rustfmt
      78ce41f8
    • Pierre Krieger's avatar
    • dpmkl's avatar
      Access control (#31) · 95ab1730
      dpmkl authored and Pierre Krieger's avatar Pierre Krieger committed
      * Add initial acl implementation
      
      * Implemented access control with utilities from paritytech::jsonrpc
      
      * Incorrect if
      
      * Make allowed_hosts an enum
      
      * Handling CORS in process_request
      
      * Build for AccessControl and naming coherence
      
      * "clean up your room! clean up your room ! that's all i ever hear..."
      - preflight requests
      - test and bench
      - wasm for yew
      
      * Add basic acl tests for 'host'
      
      * Remove 'macro_use'
      
      * Apply rustfmt to server-utils
      
      * Apply rustfmt to http
      
      * Bump lazy_static dependency
      95ab1730
  12. Nov 16, 2019
  13. Nov 15, 2019
  14. Nov 14, 2019
  15. Oct 31, 2019
  16. Oct 30, 2019
  17. Oct 29, 2019
  18. Oct 24, 2019
  19. Oct 11, 2019
  20. Oct 07, 2019
  21. Oct 02, 2019
    • Pierre Krieger's avatar
      Work on the Server subscriptions system (#30) · 827c588e
      Pierre Krieger authored
      * Rework the Client to support multiple concurrent requests
      
      * Restore proc-macro functionnality
      
      * More work
      
      * More work
      
      * Work on the Server subscriptions system
      
      * More work on design
      
      * More work
      
      * More work
      
      * Even more work
      
      * Subscriptions working
      
      * Dix docs
      
      * More test fix
      
      * Fix server-sent subscription notifications
      
      * Add some server tests
      
      * Subscriptions pending system working
      
      * Remove TODO from tests
      
      * Implement close() correctly
      
      * Add comment on close()
      
      * Fix proc macro
      
      * Fix doctest
      
      * Fix local doctest
      827c588e
  22. Oct 01, 2019
  23. Sep 30, 2019
  24. Sep 23, 2019
  25. Sep 19, 2019