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

#304 in HTTP server

Download history 14764/week @ 2023-12-23 21905/week @ 2023-12-30 32088/week @ 2024-01-06 31945/week @ 2024-01-13 34005/week @ 2024-01-20 31083/week @ 2024-01-27 29311/week @ 2024-02-03 29394/week @ 2024-02-10 31406/week @ 2024-02-17 32339/week @ 2024-02-24 35147/week @ 2024-03-02 31510/week @ 2024-03-09 33113/week @ 2024-03-16 30716/week @ 2024-03-23 32247/week @ 2024-03-30 21847/week @ 2024-04-06

122,415 downloads per month
Used in 201 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
~514K SLoC