-
Notifications
You must be signed in to change notification settings - Fork 59
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
Bump to 0.7.0 #87
Bump to 0.7.0 #87
Conversation
I think you're just missing a bump of the |
Note we should avoid "=" version specs. Those are only useful for pre-releases, and are actively bad for public releases. |
Hm I think we should also probably separate out the crate version update into its own commit. |
Done. |
Bump dependencies from alphas to released versions, fix examples to accommodate breaking changes.
Looks good to me. Thanks for the fixups. |
Hmm, should we avoid the |
Tempting. It would be nice to have symmetry between the two packages. Just now I tried going down this road a little ways: fn load_pem_certs(
path: &Path,
) -> impl Iterator<Item = Result<CertificateDer<'static>, Error>> + '_ {
let mut f = BufReader::new(File::open(path)?);
rustls_pemfile::certs(&mut f).map(|result| match result {
Ok(der) => Ok(der),
Err(err) => Err(Error::new(
ErrorKind::InvalidData,
format!("could not load PEM file {path:?}: {err}"),
)),
})
} That first I tried turning that first potential error into an My slight inclination is to leave the return type for Thanks to all for the fixups! This looks good to me. |
Agreed. |
Pushed an update to the README changelog, and a fix for the out-of-sync description of the |
|
And bump dependencies from alphas to released versions, fix examples to accommodate breaking changes.