A cool crate I found

112 points lovasoa

Hello !

I just wanted to share a cool gem I found on crates.io. It's called rustls-acme, and it makes setting up an https web server, with automatic certificate generation and update, a matter of 10 lines of code. Then, your webserver can natively handle tls traffic, without installing or setting up anything else.

I found it while working on SQLPage, which uses actix-web, but it's completely framework-agnostic.

It's almost magical how easy it makes the complicated multi-step certificate fetching process, so I thought I would share it here:

https://docs.rs/rustls-acme/