Development Tools

Salvo – asynchronous HTTP server framework

Salvo is an asynchronous web framework built on the Hyper HTTP library and Tokio runtime. It provides facilities for developing web services and APIs while retaining direct access to request and response objects. Application handlers can return values that are automatically converted into HTTP responses, reducing the amount of repetitive response construction required.

Salvo organises routes into a hierarchical tree, with middleware attached to individual branches of that tree. This allows common processing requirements, such as authentication or logging, to be applied selectively to related endpoints. Middleware and ordinary request handlers share the same programming interface.

The framework also integrates API documentation generation and transport security facilities, allowing applications to expose documented HTTP services and manage their own HTTPS connections.

This is free and open source software.

Key Features

  • HTTP/1.1, HTTP/2 and optional HTTP/3 support.
  • Nested routers with path parameters, regular expressions and request filters.
  • Middleware execution before and after endpoint processing.
  • Typed extraction and deserialization of incoming request data.
  • Multipart form processing and file uploads.
  • Automatic OpenAPI documentation generation.
  • WebSocket and WebTransport communication.
  • Server-Sent Events (SSE).
  • Automatic TLS certificate acquisition through ACME.
  • OpenSSL, Rustls and native TLS integration.
  • Mutual TLS authentication.
  • Static file serving from multiple physical directories.
  • Configurable HTML, JSON and XML error responses.
  • Optional middleware for authentication, logging, request size limits and concurrency control.
  • Graceful and forced server shutdown facilities.
  • Compatibility adapters for Tower services and middleware.
  • Utilities for testing HTTP applications.

Website: github.com/salvo-rs/salvo
Support:
Developer: The Salvo Developers
License: Apache License 2.0

Salvo is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Rust Web Micro-Frameworks
Actix WebPowerful, pragmatic, and extremely fast web framework with a few twists
SalvoPowerful and simplest web server framework
AbscissaMany features with minimal dependencies and security conscious
RouilleDesigned to be intuitive and doesn't employ middlewares
TideMnimal and pragmatic Rust web application framework
Micro HttpLightweight and modular HTTP server implementation
SpairSmall and fast frontend framework
vialSmall web "framework" for making small web sites

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted