47 releases

0.6.6 Jun 9, 2024
0.6.5 Jan 10, 2024
0.6.2 Jul 23, 2022
0.6.0 Feb 25, 2022
0.1.0-alpha.1 Mar 28, 2019

#1001 in HTTP server

Download history 40150/week @ 2024-08-18 41401/week @ 2024-08-25 41994/week @ 2024-09-01 40505/week @ 2024-09-08 38365/week @ 2024-09-15 46795/week @ 2024-09-22 42808/week @ 2024-09-29 39349/week @ 2024-10-06 43818/week @ 2024-10-13 43505/week @ 2024-10-20 43767/week @ 2024-10-27 45198/week @ 2024-11-03 42924/week @ 2024-11-10 48289/week @ 2024-11-17 44327/week @ 2024-11-24 38866/week @ 2024-12-01

177,061 downloads per month
Used in 226 crates (184 directly)

MIT/Apache

1.5MB
35K SLoC

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

Dependencies

~14–24MB
~412K SLoC