44 releases
0.6.2 | Jul 23, 2022 |
---|---|
0.6.0 | Feb 25, 2022 |
0.6.0-beta.12 | Dec 29, 2021 |
0.6.0-beta.9 | Nov 22, 2021 |
0.1.0-alpha.1 | Mar 28, 2019 |
#19 in HTTP server
80,485 downloads per month
Used in 153 crates
(118 directly)
1.5MB
33K
SLoC
actix-files
Static file serving for Actix Web
Documentation & Resources
- API Documentation
- Example Project
- Minimum Supported Rust Version (MSRV): 1.54
lib.rs
:
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–21MB
~487K SLoC