salvo-tls-acme
Installation
SKILL.md
Salvo TLS and ACME
Static TLS with Rustls
[dependencies]
salvo = { version = "0.94.0", features = ["rustls"] }
use salvo::prelude::*;
use salvo::conn::rustls::{Keycert, RustlsConfig};
#[handler]
async fn hello() -> &'static str { "Hello HTTPS" }
#[tokio::main]
async fn main() {
let router = Router::new().get(hello);