1. Nov 24, 2021
  2. Nov 23, 2021
  3. Nov 22, 2021
  4. Nov 21, 2021
    • 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
  5. Nov 19, 2021
  6. Nov 18, 2021
  7. Nov 17, 2021
  8. Nov 11, 2021
  9. Nov 10, 2021
  10. Nov 09, 2021
  11. Nov 08, 2021
  12. Nov 05, 2021
  13. Nov 03, 2021
    • ¯\_(ツ)_/¯'s avatar
      Proc mac support map param (#544) · ff3337b1
      ¯\_(ツ)_/¯ authored
      * feat(proc_macro): add support for map arguments
      
      * feat(proc_macro): formatting
      
      * feat(proc_macro): fix issues with Into trait
      
      * feat(proc_macro): param_format for methods
      
      * feat(proc_macro): improve param_format checking
      
      - Addressed @niklasad1
      
      's suggestion to use an Option instead of just
      defaulting to "array".
      
      * feat(proc_macro): apply suggestions, add test case
      
      - Use enum for param format.
      - Extract parsing logic into separate function.
      - Add ui test.
      
      * feat(proc_macro): run cargo fmt
      
      * feat(proc_macro): address suggestions
      
      * feat(proc_macro): document param_kind argument
      
      * feat(proc_macro):  consistent spacing
      
      Apply @maciejhirsz formatting suggestion.
      
      Co-authored-by: default avatarMaciej Hirsz <[email protected]>
      
      * feat(proc_macro): apply suggestions
      
      - make parameter encoding DRY
      - remove strings from param_kind
      - return result from parse_param_kind
      
      * feat(proc_macro): formatting
      
      Co-authored-by: default avatarMaciej Hirsz <[email protected]>
      ff3337b1
  14. Nov 01, 2021
  15. Oct 29, 2021
  16. Oct 21, 2021
  17. Oct 18, 2021
  18. Oct 17, 2021
    • Niklas Adolfsson's avatar
      benches: add option to run benchmarks against jsonrpc crate servers (#527) · 0b435556
      Niklas Adolfsson authored
      * fix http client bench with request limit
      
      * benches for jsonrpc servers
      
      * workaround; dont use max request limit
      
      * add subscriptions
      
      * revert unintentional change
      
      * ignore batch request bench for ws
      
      * fmt
      
      * log -> tracing
      
      * test bench CI
      
      * test bench v0.3
      
      * wtf; run CI
      
      * work plz
      
      * remove test CI bench
      
      * fix compile warn on macos
      0b435556
  19. Oct 15, 2021
    • Niklas Adolfsson's avatar
      switch to the tracing crate (#525) · 37474f45
      Niklas Adolfsson authored
      37474f45
    • Maciej Hirsz's avatar
      Re-introduce object param parsing (#526) · af16b390
      Maciej Hirsz authored
      * Re-introduce object param parsing
      
      * fmt and unnecessary collect
      af16b390
    • Maciej Hirsz's avatar
      `register_blocking_method` (#523) · 50b172e2
      Maciej Hirsz authored
      * register_blocking_method
      
      * Support `blocking` flag in `#[method]`
      
      * Macro support and tests
      
      * MacOS CI fails if there are too many blocking tasks
      
      * conn_id is never used in async callbacks
      
      * Dry-run blocking callbacks to maybe satisfy MacOS CI
      
      * Make tokio optional behind server feature flag
      
      * Document `blocking` flag use in `#[method]`
      
      * Comment why the test is disabled on mac
      
      * Fix warnings on macos tests
      50b172e2
  20. Oct 14, 2021
  21. Oct 13, 2021
  22. Oct 12, 2021
  23. Oct 11, 2021