salvo-cors

Installation
SKILL.md

Salvo CORS Configuration

[dependencies]
salvo = { version = "0.94.0", features = ["cors"] }

Cors is a builder; terminate with .into_handler() to get a CorsHandler you can hoop onto a router.

Basic Configuration

use salvo::cors::Cors;
use salvo::http::Method;
use salvo::prelude::*;
Installs
28
GitHub Stars
20
First Seen
Feb 10, 2026
salvo-cors — salvo-rs/salvo-skills