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

#596 in HTTP server

Download history 44662/week @ 2024-07-24 44611/week @ 2024-07-31 44177/week @ 2024-08-07 45458/week @ 2024-08-14 41536/week @ 2024-08-21 38089/week @ 2024-08-28 44221/week @ 2024-09-04 38740/week @ 2024-09-11 42259/week @ 2024-09-18 45755/week @ 2024-09-25 41683/week @ 2024-10-02 40440/week @ 2024-10-09 44180/week @ 2024-10-16 43098/week @ 2024-10-23 44575/week @ 2024-10-30 37495/week @ 2024-11-06

177,560 downloads per month
Used in 221 crates (182 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
~410K SLoC