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

Update dependencies and modernize the codebase #12

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

Conversation

apoelstra
Copy link
Member

This updates a couple deps to the latest versions, makes env_logger optional so that users of the library don't needlessly pull it in, and turns on a ton of cargo lints.

This is the MSRV of the latest bitcoin_hashes.
Almost no problems here, which is nice.
These shouldn't be `# Heading`s because those display poorly in docs.rs
output. Just use a word for the first line and let rustdoc decide how to
format it.
Rust 2021 started with Rust 1.56. Our MSRV is 1.63. So move to 2021. No
changes except the module improvements from Rust 2018.
This dependency is only used in the binary, not the library. To properly
separate this we should use workspaces, but as an easy first step just
make the dep optional.

While we are at it, update to the latest version of env_logger.
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