+
Skip to content

Conversation

cpu
Copy link
Contributor

@cpu cpu commented Oct 5, 2025

rusts-pemfile has been archived and won't see future updates. The rustls-pki-types crate has supported PEM parsing since v1.9.0.

This commit converts the existing parsing while maintaining semver compatibility, with the exception of the Error::Pem() enum variant. This variant previously exposed a rustls-pemfile error type, and now switches to a similar rustls-pki-types error type. This breaking change is not considered in-scope for ureq's semver policy based on the pre-existing rustdoc comment:

Note: The wrapped error struct is not considered part of ureq API. Breaking changes in that struct will not be reflected in ureq major versions.

Resolves #1120

rusts-pemfile has been archived and won't see future updates. The
rustls-pki-types crate has supported PEM parsing since 1.9.0.

This commit converts the existing parsing while maintaining semver
compatibility, with the exception of the Error::Pem() enum variant,
that exposed a rustls-pemfile type. This breaking change is **not**
considered in-scope for ureq's semver policy based on the pre-existing
rustdoc comment.
@cpu cpu mentioned this pull request Oct 5, 2025
@algesten
Copy link
Owner

algesten commented Oct 5, 2025

@cpu Excellent! Thank you for straightening this out.

@algesten algesten merged commit ccac8e4 into algesten:main Oct 5, 2025
35 checks passed
@cpu cpu deleted the cpu-pemfile-replace branch October 6, 2025 18:29
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.

rustls-pemfile is archived

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载