actix-web/actix-files
lanbinshen d84c874f23 delete while 2026-02-12 19:10:58 +08:00
..
examples docs: add guarded-listings example 2023-10-30 00:03:22 +00:00
src fix path error 2026-02-12 17:49:15 +08:00
tests delete while 2026-02-12 19:10:58 +08:00
CHANGES.md Add multi-directory static file serving 2026-02-12 17:22:56 +08:00
Cargo.toml chore(files): prepare v0.6.10 release 2026-02-06 21:12:50 +09:00
LICENSE-APACHE add license files 2019-06-01 17:25:29 +06:00
LICENSE-MIT add license files 2019-06-01 17:25:29 +06:00
README.md build(deps): bump time from 0.3.45 to 0.3.46 (#3893) 2026-01-28 08:10:27 +00:00

README.md

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));