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

#1016 in HTTP server

Download history 40698/week @ 2024-09-17 46045/week @ 2024-09-24 43071/week @ 2024-10-01 39186/week @ 2024-10-08 44317/week @ 2024-10-15 43784/week @ 2024-10-22 44762/week @ 2024-10-29 44225/week @ 2024-11-05 43544/week @ 2024-11-12 47610/week @ 2024-11-19 44303/week @ 2024-11-26 42853/week @ 2024-12-03 51781/week @ 2024-12-10 43102/week @ 2024-12-17 23708/week @ 2024-12-24 21182/week @ 2024-12-31

147,087 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–24MB
~413K SLoC