• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitcoindevkit / rust-esplora-client / 11025243440
91%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2024 02:35AM UTC
Jobs 1
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Sep 2024 02:32AM UTC coverage: 89.229% (+1.7%) from 87.521%
11025243440

push

github

notmandatory
Merge bitcoindevkit/rust-esplora-client#93: refactor(async): refactoring async client and minor documentation improvements

110393647 chore(style+docs): style and docs retouch (Leonardo Lima)
442789cca chore(style): update new methods style (Leonardo Lima)
565d79e4a refactor(async): add common GET and POST methods (Leonardo Lima)
31dfa4b9f chore(docs): minor improvements on docstrings (Leonardo Lima)

Pull request description:

  <!-- You can erase any parts of this template not applicable to your Pull Request. -->

  ### Description

  It builds on top of #95. Applies minor improvements on some docstrings, and Cargo.toml standard.

  The main change is adding the common HTTP methods for the `AsyncClient`, it removes duplicated code from each Esplora API request, and follows the approach done for `BlockingClient`.

  It makes it easier to extract these methods into an `AsyncEsploraClient` trait (to be done in another PR, initially done here 9cbc3873c), which the user can implement with any HTTP client of its choice. Also, makes it simpler to rebase and update the `AsyncAnonymizedClient` from #67.

  <!-- Describe the purpose of this PR, what's being adding and/or fixed -->

  ### Notes to the reviewers

  It has some commits from #95, as it builds on top of it and should be merged afterward. Please let me know what you think about the proposed changes and approach.

  <!-- In this section you can include notes directed to the reviewers, like explaining why some parts
  of the PR were done in a specific way -->

  ### Changelog notice

  - Applies minor improvements on documentation.
  - Add common `get_response` and `post_request` methods to `AsyncClient`, previously duplicated through the esplora API calls. It follows the approach done for `BlockinClient`.

  <!-- Notice the release manager should ... (continued)

105 of 120 new or added lines in 1 file covered. (87.5%)

1019 of 1142 relevant lines covered (89.23%)

9.22 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
15
83.66
6.26% src/async.rs
Jobs
ID Job ID Ran Files Coverage
1 11025243440.1 25 Sep 2024 02:35AM UTC 4
89.23
GitHub Action Run
Source Files on build 11025243440
  • Tree
  • List 4
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ce6a635e on github
  • Prev Build on master (#10748775132)
  • Next Build on master (#11025318001)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc