actix-files

Crates.ioactix-files
lib.rsactix-files
version0.6.6
sourcesrc
created_at2019-03-28 20:40:12.661985
updated_at2024-06-09 19:05:05.034353
descriptionStatic file serving for Actix Web
homepagehttps://actix.rs
repositoryhttps://github.com/actix/actix-web
max_upload_size
id124432
size179,093
Core (github:actix:core)

documentation

README

actix-files

crates.io Documentation Version License
dependency status Download Chat on Discord

Static file serving for Actix Web.

Provides a non-blocking service for serving static files from disk.

Examples

use actix_web::App;
use actix_files::Files;

let app = App::new()
    .service(Files::new("/static", ".").prefer_utf8(true));
Commit count: 4348

cargo fmt