NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #3017 most downloaded on crates.io
Static file serving for Actix Web
Last release 1 months ago
19 Aug 2026
Release timing varies
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 26 of 26 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
53 releases · first in 2019
Remove the experimental experimental-io-uring crate feature and its implementation, including the NamedFile::open_async() method.
experimental-io-uring crate feature and its implementation, including the NamedFile::open_async() method.Files::new.Files::try_compressed() to support serving pre-compressed static files.Range: bytes=0-.Files when use_hidden_files() is enabled and request paths contain . segments.NamedFile panic when serving files with pre-UNIX epoch modification times.Content-Encoding: identity header in NamedFile range responses.We addressed 2 vulnerabilities in this release:
We addressed 2 vulnerabilities in this release:
Files::new inputs.We encourage updating your actix-files version as soon as possible.
PathBufWrap & UriSegmentError made public. #3694One column per quarter.
Correct derive_more dependency feature requirements.
derive_more dependency feature requirements.Add Files::with_permanent_redirect() method.
Files::with_permanent_redirect() method.Add {Files, NamedFile}::read_mode_threshold() methods to allow faster synchronous reads of small files.
{Files, NamedFile}::read_mode_threshold() methods to allow faster synchronous reads of small files.Update tokio-uring dependency to 0.4.
tokio-uring dependency to 0.4.Fix handling of special characters in filenames.
Fix handling of newlines in filenames.
time dependency.Allow partial range responses for video content to start streaming sooner. [#2817]
time dependency.Add NamedFile::{modified, metadata, content_type, content_disposition, encoding}() getters. [#2021]
NamedFile::{modified, metadata, content_type, content_disposition, encoding}() getters. #2021tokio-uring dependency to 0.3.Content-Disposition: inline instead of attachment. #2645hashbrown dependency.No significant changes since 0.6.0-beta.16.
0.6.0-beta.16.No significant changes since 0.6.0-beta.15.
0.6.0-beta.15.No significant changes since 0.6.0-beta.14.
0.6.0-beta.14.The prefer_utf8 option introduced in 0.4.0 is now true by default. [#2583]
prefer_utf8 option introduced in 0.4.0 is now true by default. #2583The Files service now rejects requests with URL paths that include %2F (decoded: /). [#2398]
No significant changes since 0.6.0-beta.11.
0.6.0-beta.11.No significant changes since 0.6.0-beta.10.
0.6.0-beta.10.No significant changes since 0.6.0-beta.9.
0.6.0-beta.9.Add crate feature experimental-io-uring, enabling async file I/O to be utilized. This feature is only available on Linux OSes with recent kernel versi
experimental-io-uring, enabling async file I/O to be utilized. This feature is only available on Linux OSes with recent kernel versions. This feature is semver-exempt. #2408NamedFile::open_async. #2408Responder impl for NamedFile now has a boxed future associated type. #2408Service impl for NamedFileService now has a boxed future associated type. #2408impl Clone for FilesService. #2408Minimum supported Rust version (MSRV) is now 1.52.
Minimum supported Rust version (MSRV) is now 1.51.
Added Files::path_filter(). [#2274]
NamedFile now implements ServiceFactory and HttpServiceFactory making it much more useful in routing. For example, it can be used directly as a defaul
NamedFile now implements ServiceFactory and HttpServiceFactory making it much more useful in routing. For example, it can be used directly as a default service. #2135Content-Disposition header no longer shows the filename of the original file. #2156Files::redirect_to_slash_directory() now works as expected when used with Files::show_files_listing(). #2225application/{javascript, json, wasm} mime type now have inline disposition by default. #2257Add support for .guard in Files to selectively filter Files services. [#2046]
.guard in Files to selectively filter Files services. #2046- No notable changes.
Fix If-Modified-Since and If-Unmodified-Since to not compare using sub-second timestamps. [#1887]
HttpRange::parse now has its own error type.
HttpRange::parse now has its own error type.bytes to 1.0. #1813Optionally support hidden files/directories. [#1811]
Clarify order of parameters in Files::new and improve docs.
Files::new and improve docs.Add Files::prefer_utf8 option that adds UTF-8 charset on certain response types. [#1714]
Files::prefer_utf8 option that adds UTF-8 charset on certain response types. #1714No significant changes from 0.3.0-beta.1.
Update actix-web and actix-http dependencies to beta.1
v_htmlescape to 0.10actix-web and actix-http dependencies to beta.1Update actix-web and actix-http dependencies to alpha
actix-web and actix-http dependencies to alpha- Add .put() and .sput() methods
Use the same format for file URLs regardless of platforms
Fix BodyEncoding trait import #1220
Nothing published for this version
Nothing published for this version
- Migrate to std::future
std::futureAdd an additional filename* param in the Content-Disposition header of actix_files::NamedFile to be more compatible.
filename* param in the Content-Disposition header of actix_files::NamedFile to be more compatible. (#1151)Add option to redirect to a slash-ended path Files #1132
Files #1132Bump up mime_guess crate version to 2.0.1
mime_guess crate version to 2.0.1percent-encoding crate version to 2.1Files #1113Allow to disable Content-Disposition header #686
Content-Disposition header #686Do not set Content-Length header, let actix-http set it #930
Content-Length header, let actix-http set it #930Content-Length is 0 for NamedFile HEAD request #914
Static files are incorrectly served as both chunked and with length #812
NamedFile last-modified check always fails due to nano-seconds in file modified date #820
Nothing published for this version
- Update actix-web to beta.4
- Update actix-web to alpha6
- Update actix-web to alpha4
- Add default handler support
- Initial impl
Your coding agent can read these notes before it upgrades. Set up the MCP server →