46 releases

0.6.5 Jan 10, 2024
0.6.2 Jul 23, 2022
0.6.0 Feb 25, 2022
0.6.0-beta.12 Dec 29, 2021
0.1.0-alpha.1 Mar 28, 2019

#367 in HTTP server

Download history 32634/week @ 2024-01-23 31704/week @ 2024-01-30 28088/week @ 2024-02-06 29479/week @ 2024-02-13 32346/week @ 2024-02-20 35115/week @ 2024-02-27 33160/week @ 2024-03-05 31960/week @ 2024-03-12 33248/week @ 2024-03-19 29072/week @ 2024-03-26 31450/week @ 2024-04-02 27415/week @ 2024-04-09 32927/week @ 2024-04-16 34247/week @ 2024-04-23 28275/week @ 2024-04-30 25228/week @ 2024-05-07

125,477 downloads per month
Used in 202 crates (170 directly)

MIT/Apache

1.5MB
34K 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

~16–31MB
~515K SLoC