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
Replace base64-compat dependency #993
Conversation
Now that we have MSRV 1.41.1 we can use the more modern `base64` instead of the compat crate. Requires no changes other than changing the dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 38c41e4
I'm a little wary of doing this. The technical problem with base64 is solved but AFAIK not the social one, which is that the maintainer of OTOH, since we blacklisted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 38c41e4
I think, since serde broke MSRV way back when, we need to accept that we're unable to NIH everything that annoys us, and the cargo update -p
is honestly not that bad.
Anything can break at anytime, right? Perhaps what we need is to defend against it by making sure our CI build/test against explicit versions so we know what works? This seems to be a recurring theme at the moment, I don't personally know an easy way to fix it? While we are at it I suppose we should discuss auditing specific dependency versions, has that been discussed/proposed before? A testing epic is probably in order, I'm happy to work on it but probably after crate-smashing is done would be best? |
I think it's reasonable to assume that every minor dependency will work, until it doesn't (in which case we'll need to add a pin and update our CI). Pre-emptively pinning means that we're no longer testing the latest versions of dependencies, which are what our users are most likely to be using. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 38c41e4
38c41e4 Replace base64-compat dependency (Tobin C. Harding) Pull request description: Now that we have MSRV 1.41.1 we can use the more modern `base64` instead of the compat crate. Requires no changes other than changing the dependency. ACKs for top commit: elichai: ACK 38c41e4 apoelstra: ACK 38c41e4 sanket1729: ACK 38c41e4 Tree-SHA512: 3b53f7c52c9f8346fe4a958b8a8ffa5312891cbb4ce9f5e413bcad596f416ad2f5d6bbbde8857795544de06eaaa2450e88dde273e3177da918baed264a38d1ec
Noticed this comment while doing pre-release check of PRs:
Doing MSRV bumps in minor releases is actually correct because forcing people to do |
Now that we have MSRV 1.41.1 we can use the more modern
base64
instead of the compat crate. Requires no changes other than changing the dependency.