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 2 years ago
Fixes
Features
SIGTERM
. PR #80 resolves #79 suggested by @jtackaberry. See docs for more details.Refactorings
info
entry after CTRL + C
on Windows.Published by github-actions[bot] over 2 years ago
Updates
9ceab19 Security/bug-fixes updates for OpenSSL, structopt, libc and other dependencies (also ae2c70d).
561175e Alpine 3.14 Docker image.
Fixes
70a16f8 to_string
applied to a type that implements Display
.
Published by github-actions[bot] almost 3 years ago
Fixes
Refactorings
Features
Published by github-actions[bot] almost 3 years ago
Fixes
Features
Name
, Last Modified
and File Size
in ascending/descending order via the new --directory-listing-order
option. More details on directory listing documentation. PR #71 resolves #68 suggested by @igoro00.Published by github-actions[bot] almost 3 years ago
Fixes
Features
Refactorings
Docs
Published by github-actions[bot] almost 3 years ago
Updates
Refactorings
Published by github-actions[bot] almost 3 years ago
Fixes
aarch64-unknown-linux-musl
build fails using Rust nightly.Features
--basic-auth
option. PR #55 resolves #53 suggested by @bjornharrtell.Refactorings
futures-util
over futures
dependency.Docs
Published by github-actions[bot] about 3 years ago
Fixes
Refactorings
/public
of scratch
and alpine
images. PR #52 resolves #51 reported by @bergi9.Tests
Published by github-actions[bot] about 3 years ago
Fixes
hyper
, h2
, httparse
bug fixes. tokio
leak fix and related crates (also adb8ca6)Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
Fixes
Range: bytes=-10
header returned incorrectly the first 10 bytes rather than the last 10 ones.Updates
Refactorings
index.html
file.Tests
Docs
Published by github-actions[bot] over 3 years ago
The second major stable release is finally available after around half a year of work.
It introduces notable changes including new features, performance improvements and new targets support like ARM64 and OSes like FreeBSD.
This version was re-written almost from the scratch on top of Hyper and Tokio runtime which give us the Rust asynchronous ability by default and latest HTTP/1 & HTTP/2 implementation improvements.
However it still try to keep the same principles of its first version: lightness and easy to use. Therefore a migration to this new version should not be a big deal.
Your feedback is very appreciated.
This list only shows new features not present in previous v1.
Accept-Encoding
header for text-based web files only.--http2
option).--threads-multiplier
option).--directory-listing
option).--cache-control-headers
).--fd
option. Thanks to @tim-seoss.For the full list of features, options details and usage please check it out the README file.
This major version has few breaking changes.
However a migration should not represent a problem. Please have in mind the following changes:
--root
or its equivalent env) so an assets path option is no longer required.--http2
option) the server uses h2 which is on top of Rustls. It means that instead of using a .p12 or .pfx file you can now use only a certificate file along with its private key. More details on README file.The rest of known options are equivalent to v1 except the new ones of course.
However it's worth to always recommend to test this server update first with your applications on a development environment or similar.
Please see the full list of options with their details on the README file.
Changes after the last v2.0.0-beta.7
release:
Performance
Features
--cache-control-headers
.Refactorings
Docs
Published by github-actions[bot] over 3 years ago
Seventh and last beta release v2.0.0-beta.7
with notable changes.
Updates
Features
Find the binaries for new targets attached to this release.
Performance
Codebase
./public
to ./docker
dir.Published by github-actions[bot] over 3 years ago
Sixth beta release v2.0.0-beta.6
with notable changes.
Updates
Fixes
Content-Type
header for directory listing index and error pages.Features
Find the binaries for new targets attached to this release and all targets supported also described in the README file.
Refactorings
Poll::map_err
on compression stream.to_owned()
for string literals over to_string()
in some cases.Release notes
FreeBSD i686/x86_64 binaries are coming in next and last beta release which is very close to the final v2 releasing.
Published by github-actions[bot] over 3 years ago
Fixes
Updates
Docs
Refactorings
Published by github-actions[bot] over 3 years ago
Fifth beta release v2.0.0-beta.5
with notable changes.
Updates
Features
--security-headers
). PR #44 resolves #39x86_64-unknown-linux-gnu
aarch64-apple-darwin
aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl
arm-unknown-linux-gnueabihf
Find binaries for those targets attached to this release.
Note about releases
Rust Nightly is powering the releases from now on the CI. This makes possible to reach more targets in the future.
For more details about it see Rust Nightly targets supported.
However clarify that the static-web-server
project is not using any nightly feature but only stable Rust ones and the project is also tested against nightly and stable Rust on CI periodically in order to be notified in case of "regressions or bugs introduced in Nightly Rust". However it is known that the nightly compiler is very stable therefore the reason why we have chosen it for release targets via CI like many other popular Rust projects.
In any case, please don't hesitate to file an issue or send a PR.
Refactorings
--http2-tls-cert
and --http2-tls-key
options now require --http2
enabled.Published by github-actions[bot] over 3 years ago
Updates
Features
x86_64-unknown-linux-musl
, x86_64-apple-darwin
, x86_64-pc-windows-msvc
. We are supporting six ones more, among which five ARMs stand out:
x86_64-unknown-linux-gnu
aarch64-apple-darwin
aarch64-pc-windows-msvc
aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl
arm-unknown-linux-gnueabihf
Find those targets attached to this release.
Refactorings
Note about releases
Rust Nightly is powering the releases from now on the CI. This makes possible to reach more targets in the future.
For more details about it see Rust Nightly targets supported.
However clarify that the static-web-server
project is not using any nightly feature but only stable Rust ones and also the project is tested against nightly and stable Rust on CI recurrently in order to be notified in case of "regressions or bugs introduced in Nightly Rust". However it is known that the nightly compiler is very stable therefore the reason why we have chosen it for release targets via CI like many other popular Rust projects.
In any case, don't hesitate to file an issue.
Published by joseluisq over 3 years ago
Fourth beta release v2.0.0-beta.4
with notable changes.
Updates
Features
-f
, --fd
). PR #40 by @tim-seoss.-z
, --directory-listing
). PR #41Accept-Encoding
header (-x
, --compression
).-c
, --cors-allow-origins
).Refactorings
Warp
in favor of just Hyper
+ Tokio
. PR #38-n
, --threads-multiplier
).HEAD
or GET
requests on static assets and error page handlers.Docs
All feature flags as well as their equivalent environment variables are described on the updated README file.