3 unstable releases

0.4.0 Apr 18, 2026
0.2.1 Apr 3, 2026
0.2.0 Apr 3, 2026

#1611 in HTTP server

MIT/Apache

345KB
6K SLoC

VIL — Pythonic Rust Framework

Zero-copy, high-performance backend framework with batteries included.

[dependencies]
vil = { version = "0.2", features = ["web", "db-sqlite"] }
use vil::prelude::*;

#[vil_handler]
async fn hello() -> VilResponse<&'static str> {
    VilResponse::ok("Hello VIL!")
}

#[tokio::main]
async fn main() {
    let svc = ServiceProcess::new("hello")
        .endpoint(Method::GET, "/", get(hello));
    VilApp::new("my-app")
        .port(8082)
        .observer(true)
        .service(svc)
        .run().await;
}

Features

Feature Includes
web (default) Server, auth, macros, JSON
log (default) Semantic logging (7 types)
db-sqlite SQLite via sqlx
db-postgres PostgreSQL via sqlx
ai LLM, gateway, prompts, guardrails
full Everything

Documentation | GitHub

Dependencies

~0–21MB
~261K SLoC