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

#50 in HTTP server

Download history 12540/week @ 2022-04-22 12113/week @ 2022-04-29 12835/week @ 2022-05-06 13676/week @ 2022-05-13 12873/week @ 2022-05-20 11817/week @ 2022-05-27 12771/week @ 2022-06-03 15268/week @ 2022-06-10 15046/week @ 2022-06-17 15222/week @ 2022-06-24 15036/week @ 2022-07-01 14825/week @ 2022-07-08 17476/week @ 2022-07-15 16395/week @ 2022-07-22 16974/week @ 2022-07-29 18206/week @ 2022-08-05

72,179 downloads per month
Used in 106 crates (95 directly)

MIT/Apache

1.5MB
32K 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–22MB
~496K SLoC