actix-web/actix-files
Yuki Okushi da2d74ec28
perf(files): drop some needless allocations (#4042)
2026-04-26 19:14:54 +00:00
..
examples docs: add guarded-listings example 2023-10-30 00:03:22 +00:00
src perf(files): drop some needless allocations (#4042) 2026-04-26 19:14:54 +00:00
tests feat(file): add support for extracting multi-component path params (#4039) 2026-04-25 14:43:27 +09:00
CHANGES.md chore(files): upgrade v_htmlescape to 0.17 (#4048) 2026-04-26 17:40:14 +00:00
Cargo.toml chore(files): upgrade v_htmlescape to 0.17 (#4048) 2026-04-26 17:40:14 +00: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));