A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
This new v2.15.0
release brings several dependency updates, one bug fix for compression-static
, new features like Tokio's --max-blocking-threads
or .html
auto suffix for directory requests, the possibility to build SWS on non-Unix/Windows platforms and performance optimizations and improvements across several modules including static_file
which speeds up SWS around ~4.37%
more req/sec for almost the same computing.
Fixes
index.html
check missing. PR #186 resolves #178 reported by @glehmann.Features
--max-blocking-threads
via new option. PR #181 by @syrusakbary, @john-sharratt..html
suffix when a directory request path doesn't exist. PR #180 by @syrusakbary.http2
Cargo feature. PR #183 by @syrusakbary, @john-sharratt.Refactorings
signals
support optional for non-Unix/Windows targets. PR #185 by @syrusakbary, @john-sharratt.compression_static
module's result type.static_file
module's composed file metadata.Docs
Acknowledgments
Thanks to our new donnors @marcusbuffett and @scottsweb for supporting the project.
Published by github-actions[bot] over 1 year ago
Fixes
Refactorings
Published by github-actions[bot] almost 2 years ago
Fixes
End of Life (2023-01-06): Version 1.x is no longer supported. Please upgrade to latest v2 stable version.
The v2 has similar and added features as well as performance and security improvements.
See how to migrate from v1 to v2
for more details.
Published by github-actions[bot] almost 2 years ago
Fixes
Published by github-actions[bot] almost 2 years ago
Fixes
directory_listing
module.signals
module.cross
dependency to latest 0.2.x.Breaking
SERVER
prefix for the REDIRECT_TRAILING_SLASH
env. PR #161.REDIRECT_TRAILING_SLASH
env was used explicitly.SERVER_REDIRECT_TRAILING_SLASH
env instead.Features
--ignore-hidden-files
option. PR #162. See docs.Refactorings
Docs
Advice about the new organization change
Certainly, there is no impact if you still rely on previous Github release links (E.g pre-compiled binaries) because they are always redirected permanently.
However, since we moved to a new organization, we highly encourage you to update your links using the new GitHub address of the static-web-server
organization.
Published by github-actions[bot] about 2 years ago
Fixes
Refactorings
~58%
performance boost for serving static files and ~10%
(CPU) / ~52%
(RAM) less resource utilization. PR #153 resolves #146 reported by @jonashaag.Published by github-actions[bot] about 2 years ago
Fixes
Features
--cors-expose-headers
option. PR #144 by @nelsonjchen. See docs.--directory-listing-format
option. PR #151 resolves #128 suggested by @skayo. See docs.Refactorings
Docs
Codebase
Published by github-actions[bot] about 2 years ago
Fixes
time
crate. RUSTSEC-2020-0071 #142
ansi_term
crate. RUSTSEC-2021-0139 #143
Features
Refactorings
Docs
1.59.0
or later. See docs.Codebase
Published by github-actions[bot] about 2 years ago
Fixes
windows-service
option when used via the config file.Features
redirect-trailing-slash
option. PR #131 by @phartenfeller. See docs.Docs
Published by github-actions[bot] over 2 years ago
Fixes
\\?\
) when logging on Windows.Features
Docs
Published by github-actions[bot] over 2 years ago
Updates
3.15
.Published by github-actions[bot] over 2 years ago
Fixes
Features
--windows-service
option. PR #110 resolves #65 suggested by @bubnenkoff. See docs.--log-remote-address
option. PR #112 resolves #111 suggested by @nicheath. See docs.Docs
Published by github-actions[bot] over 2 years ago
Fixes
Features
Refactorings
tokio-rustls
to v0.23
.tikv-jemallocator
) on Linux (Musl libc).git.io
link. PR #103 by @renbaoshuo.PathBuf
data type for cli/file config path options.Docs
7dda2ea Config file and custom http headers.
Published by github-actions[bot] over 2 years ago
Updates
Refactorings
tikv-jemallocator
) on Linux (musl libc).Published by github-actions[bot] over 2 years ago
Fixes
http://localhost:1234/whatever/c:/windows/win.ini
.Refactorings
Docs
Published by github-actions[bot] over 2 years ago
Fixes
--cors-allow-origins
doesn't assign headers properly. PR #87 resolves #86 reported by @mr-moon.3.15
Docker image upgrade. PR #92.Features
-j, --cors-allow-headers
flags. PR #87. See docs.OPTIONS
method requests. PR #87. See docs.Cache-Control
for AVIF and JPEG XL mime types. PR #88 by @csmith. See docs.--page-fallback
flag. PR #91 by @firstdorsal. See docs.Refactorings
Content-Type
header for error pages and dir listing responses.Docs
Testing
Cache-Control
test cases.Published by github-actions[bot] over 2 years ago
Updates
Published by github-actions[bot] over 2 years ago
Fixes
Features
armv7-unknown-linux-musleabihf
(armv7) and arm-unknown-linux-musleabihf
(armv6) binary targets.linux/arm64
, linux/386
, linux/arm/v7
and linux/arm/v6
platforms.application/wasm
) files. PR #84 by @acelot. See docs.Refactorings
cfg(unix)
instead of cfg(not(windows))
.Docs
Published by github-actions[bot] over 2 years ago
Fixes
Published by github-actions[bot] over 2 years ago
Fixes
Features
armv7-unknown-linux-musleabihf
(armv7) and arm-unknown-linux-musleabihf
(armv6) binary targets.linux/arm64
, linux/386
, linux/arm/v7
and linux/arm/v6
platforms.