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

#1050 in HTTP server

Download history 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 42735/week @ 2024-12-01 49692/week @ 2024-12-08 49032/week @ 2024-12-15 24407/week @ 2024-12-22 24205/week @ 2024-12-29 41927/week @ 2025-01-05

144,102 downloads per month
Used in 231 crates (187 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–25MB
~414K SLoC