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

Refactor FS chacha into its own module #22

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

nyonson
Copy link
Collaborator

@nyonson nyonson commented Apr 11, 2024

Busting up the code so that lib.rs can focus on the public interface of the crate. Also making heavy use of the "each module gets its own Error enum" pattern. I am a fan since usually calling code doesn't really care why/how a dependency failed, just that it failed. If it really does care, it can match on the error variants.

@nyonson nyonson merged commit 7e475fa into rust-bitcoin:main Apr 11, 2024
3 checks passed
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