Build safer web services
with zero overhead.
XEO is a Rust framework engineered for high-performance security. Type-safe routing, memory safety, and uncompromising speed.
Get Started
$ cargo add xeo
use xeo::prelude::*;
#[tokio::main]
async fn main() {
// Initialize secure server with compression and logging
let app = Router::new()
.route("/", get(|| async { "Hello XEO" }))
.layer(SecureHeaders::new());
Server::bind("0.0.0.0:3000")
.serve(app)
.await
.unwrap();
}
Secure by Default
Automatic protection against CSRF, XSS, and common attack vectors without extra configuration.
Bare Metal Performance
Built on Hyper and Tokio. Zero-cost abstractions ensure your app runs at maximum efficiency.
Tiny Footprint
Compiles to a single binary. No garbage collection pauses, low memory usage.