Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce crate level decoding functions #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tcharding
Copy link
Member

We would like to release a bare-bones 1.0 version of this crate that excludes the FromHex trait. So that users can still decode vectors and arrays without the trait introduced two new decoding functions.

Intentionally do not use decode as the name incase we later want to add a more general decode function.

We would like to release a bare-bones 1.0 version of this crate that
excludes the `FromHex` trait. So that users can still decode vectors
and arrays without the trait introduced two new decoding functions.

Intentionally do not use `decode` as the name incase we later want to
add a more general `decode` function.
@tcharding tcharding marked this pull request as ready for review March 3, 2025 22:03
@tcharding
Copy link
Member Author

Pulled out of #162

tcharding added a commit to tcharding/hex-conservative that referenced this pull request Mar 3, 2025
WIP because this should come from `master` but we are waiting on rust-bitcoin#166 to
merge.

`master` is at tip: TOOD

Introduce decoding logic from `master`, this means:

Public API consisting of:

- The crate level decoding functions
- The associated error types

Private code:

- Code in private modules `parse` and `iter` as needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant