44 releases

0.6.2 Jul 23, 2022
0.6.0 Feb 25, 2022
0.6.0-beta.12 Dec 29, 2021
0.6.0-beta.9 Nov 22, 2021
0.1.0-alpha.1 Mar 28, 2019

#19 in HTTP server

Download history 17799/week @ 2022-12-08 15013/week @ 2022-12-15 12067/week @ 2022-12-22 12588/week @ 2022-12-29 15504/week @ 2023-01-05 17858/week @ 2023-01-12 19294/week @ 2023-01-19 18350/week @ 2023-01-26 20195/week @ 2023-02-02 17822/week @ 2023-02-09 20731/week @ 2023-02-16 19666/week @ 2023-02-23 17540/week @ 2023-03-02 19023/week @ 2023-03-09 19297/week @ 2023-03-16 20813/week @ 2023-03-23

80,485 downloads per month
Used in 153 crates (118 directly)

MIT/Apache

1.5MB
33K SLoC

actix-files

Static file serving for Actix Web

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

Documentation & Resources


lib.rs:

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

Dependencies

~14–21MB
~487K SLoC