A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡
This new v2.28.0
release brings security dependency updates and bug fixes. Cancellation ability to shut down the server gracefully on demand when using the library, Docker examples and Windows Firewall instructions as well as other improvements.
Fixes
TryFrom
imported redundantly in Rust nightly. PR #318 by @yonas.Features
server::Server::run_server_on_rt
and server::Server::run_standalone
functions in Linux/BSDs. PR #319 resolves #315 suggested by @hanaTsuk1.Refactorings
docs.rs
metadata.Docs
This new v2.27.0
release brings a few dependency updates and bug fixes. Two new Cargo feature flags and fixes a regression introduced by the previous release when building SWS from source.
Fixes
Features
all
and experimental
Cargo feature flags. PR #313 also fixes #312 reported by @mattfbacon. See docs.This new v2.26.0
release brings several dependency security updates and bug fixes. Support for Range
requests out of bounds, experimental Tokio Runtime metrics for Prometheus, new Discord server as well as other improvements.
Fixes
linux/ppc64le
and linux/s390x
of the Alpine Scratch images because those binaries provided are not static-linked. Prefer the Debian image variant for those targets instead.Features
--experimental-metrics
option (Unix/Linux). PR #307 by @pl4nty.Refactorings
Acknowledgments
Thanks to our new donor @c0m4r for supporting the project.
This new v2.25.0 release brings several dependency security updates and bug fixes. An optional Host
URI support for the URL Redirects feature, a bug fix when capturing a Glob pattern using brace expansion for URL Rewrites/Redirects as well as other improvements.
Fixes
Features
Host
URI support for the URL Redirects feature. PR #301.
This will allow users for example to perform https://static-web-server.net/features/url-redirects/#host/static-web-server.net/features/url-redirects/#host).Refactorings
tokio-rustls
0.25. PR #303.devel
workflow. PR #300.devel
workflow.release
workflow.Docs
Acknowledgments
Thanks to our new donors for supporting the project.
This new v2.24.2 release brings general dependency security updates, bug fixes and improvements.
Fixes
Refactorings
This new v2.24.1
release brings dependency security updates and bug fixes. In particular, it fixes an issue when executing the previous Windows ARM64 build as well as other minor improvements.
Fixes
Refactorings
Docs
Misc
This new v2.24.0
release brings dependency security updates and bug fixes. It introduces three new targets (PowerPC (PPC64LE), S390x and Windows ARM64). Features like automatic TOML configuration file detection at startup and 404/50x error pages loading at runtime as well as several improvements.
Fixes
cross
does not build when using libc
0.2.149+ on NetBSD.Features
Refactorings
OPTIONS
file requests. PR #278.Docs
This new v2.23.0
release brings several dependency updates and bug fixes. New features like multiple index files and maintenance mode support, more performance and resource optimizations (~15% less memory usage), a bug fix for the JSON directory listing, documentation for using SWS in WebAssembly and TrueNAS SCALE as well as other improvements.
Fixes
Features
Refactorings
Docs
Acknowledgments
Thanks to our new donor @kirillt for supporting the project.
This new v2.22.1
release brings several dependency updates and bug fixes. In particular, it fixes an issue when capturing glob groups for URL Rewrites and Redirects.
Fixes
/dir/{*}
correctly. PR #265 resolves #264 reported by @clembu.This new v2.22.0
release brings several dependency updates and bug fixes. It fixes a performance regression leading to better RAM utilization (~28% less) in comparison to the previous releases with a slight req/sec increase, a new Illumos x86_64 target, as well as improved responsiveness of the directory listing HTML page for mobile and desktop screens.
Fixes
Features
Refactorings
cache-control
.