Only lines code to create a server with ACME and HTTP3

use salvo::prelude::*;

async fn hello(res: &mut Response) {
    res.render(Text::Plain("Hello World"));

async fn main() {
    let mut router = Router::new().get(hello);
    let listener = TcpListener::new("")
        .http01_challege(&mut router).quinn("");
    let acceptor = listener.join(TcpListener::new("")).bind().await;

Read more:

1 Like

To extend some context: the original poster is the author of salvo, a Rust web backend framework, and he's advertising the newly added feature that ACME and HTTP3 are supported in salvo.

I'm not related to salvo, and don't know the author in person.
The following information is from a tutorial video published days ago: 《Rust唠嗑室》第43期:朽木老师(上)_哔哩哔哩_bilibili (sorry, it's in Chinese and no English subtitles)

Salvo has started for years. The author was not satisfied with but there weren't many choices back then, so he decided to make his own web framework. He's actively maintaining salvo, and using it in production. Salvo is less well-known but still powerful.


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.