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

Dependency Updates, Modernize Rust Version + Misc Enhancements #18

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bonedaddy
Copy link
Contributor

@bonedaddy bonedaddy commented Jan 19, 2023

Overview

Includes a number of changes that modernize the rust version in use, upgrades all dependencies, and uses better error handling:

  • Rust edition change to 2021
  • All dependencies updated to latest available version except nom (explained later)
  • Remove the usage of failure and failure_derive, replacing them with anyhow and thiserror
  • Applied formatting and linting
  • Makes the visibility of the various B32 and B64 encoding types public, as they are needed by third-party crates
  • Updates the crate version from to 0.2.0

Nom Upgrade Issues

Between version 6.0.0 and 7.0.0 of nom, the overall API of the library was significantly changed, such that the current nom parsers are no longer valid and need to be rewritten. Given that it represents a fairly significant logic change, I've left that out of this PR.

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.

None yet

1 participant