1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-19 16:58:14 +00:00
actix-web/actix-files
2024-02-03 23:55:01 +00:00
..
examples docs: add guarded-listings example 2023-10-30 00:03:22 +00:00
src Rustls v0.22 support (#3275) 2024-02-03 23:55:01 +00:00
tests apply standard formatting 2023-07-17 02:38:12 +01:00
Cargo.toml chore(actix-files): prepare release 0.6.5 2024-01-10 04:01:14 +00:00
CHANGES.md chore(actix-files): prepare release 0.6.5 2024-01-10 04:01:14 +00:00
LICENSE-APACHE add license files 2019-06-01 17:25:29 +06:00
LICENSE-MIT add license files 2019-06-01 17:25:29 +06:00
README.md docs(files: update readme from crate docs 2024-01-10 04:03:29 +00:00

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));