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 low-level-rustls example #3013

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

Hmikihiro
Copy link
Contributor

Motivation

  • use latest dependency tokio-rustls
  • remove unused dependency rustls-pemfile

Solution

I use tokio::rustls::pki_types instead of rustls_pemfile.
https://github.com/rustls/pemfile/releases/tag/v%2F2.2.0

I remove simply ConfiguBuilder::with_safe_defaults.
https://github.com/rustls/rustls/releases/tag/v%2F0.22.0#:~:text=ConfigBuilder%3A%3Awith_safe_defaults%20%2D%20calls%20to%20this%20can%20simply%20be%20deleted%20since%20safe%20defaults%20are%20now%20implicit.

Signed-off-by: Hayashi Mikihiro <[email protected]>
@jplatte jplatte enabled auto-merge (squash) November 11, 2024 16:44
@jplatte jplatte changed the title update low-level-rustls example Update low-level-rustls example Nov 11, 2024
@jplatte jplatte merged commit 6e0559e into tokio-rs:main Nov 11, 2024
18 checks passed
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.

4 participants