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

#324 in HTTP server

Download history 28112/week @ 2024-01-03 31569/week @ 2024-01-10 34489/week @ 2024-01-17 31149/week @ 2024-01-24 31812/week @ 2024-01-31 27749/week @ 2024-02-07 30018/week @ 2024-02-14 33108/week @ 2024-02-21 35343/week @ 2024-02-28 32221/week @ 2024-03-06 32109/week @ 2024-03-13 33141/week @ 2024-03-20 31028/week @ 2024-03-27 28459/week @ 2024-04-03 28038/week @ 2024-04-10 27612/week @ 2024-04-17

120,805 downloads per month
Used in 200 crates (167 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–30MB
~513K SLoC