Rust

Web frameworks (Axum, Actix)

Në shqip: Framework-et web në Rust

ShpjegimiSQ

Axum dhe Actix Web janë framework-et më të njohura për serverë web në Rust — shumë të shpejtë dhe me pak memorie. Axum-i ndërtohet mbi Tokio dhe është zgjedhja e zakonshme për projekte të reja.

EnglishEN

Axum and Actix Web are the best-known frameworks for Rust web servers — very fast and light on memory. Axum is built on Tokio and is the usual choice for new projects.

Si ta mendosh

Si një kuzhinë profesionale shumë e shpejtë.

Lexoje në anglisht

Like a very fast professional kitchen.

Shembull kodirust

let app = axum::Router::new()
    .route("/", axum::routing::get(|| async { "Përshëndetje!" }));
let l = tokio::net::TcpListener::bind("0.0.0.0:3000").await?;
axum::serve(l, app).await?;

Terma të lidhur