bitcoindevkit / rust-esplora-client

Bitcoin Esplora API client library. Supports plaintext, TLS and Onion servers. Blocking or async.
MIT License
28 stars 44 forks source link

feat(api): expose bitcoin types for the API #45

Closed vincenzopalazzo closed 1 year ago

vincenzopalazzo commented 1 year ago

In some cases, you need to use the bitcoin primitive to convert a type into another format or build a type from a hex string.

This commit will reexport the primitive used in the client without forcing the caller to add the bitcoin crate as direct dependency.

The motivation to have this is when you are interacting with a system that is not rust, and you do not need the rust-bitcoin.

notmandatory commented 1 year ago

@vladimirfomene once this one is merged I think it's time for a new release for this crate. Can we do it early next week?

vladimirfomene commented 1 year ago

Yes, @notmandatory you read my mind.

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 4591020650

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 4419789814: 0.0%
Covered Lines: 832
Relevant Lines: 1039

💛 - Coveralls
coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 4591020650

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 4419789814: 0.0%
Covered Lines: 832
Relevant Lines: 1039

💛 - Coveralls