Download Latest Version static-web-server-v2.40.1-i686-pc-windows-msvc.zip (2.8 MB)
Email in envelope

Get an email when there's a new version of Static Web Server

Home / v2.40.0
Name Modified Size InfoDownloads / Week
Parent folder
static-web-server-v2.40.0-SHA256SUM 2025-11-30 3.0 kB
static-web-server-v2.40.0-x86_64-pc-windows-msvc.zip 2025-11-30 3.2 MB
static-web-server-v2.40.0-x86_64-pc-windows-gnu.zip 2025-11-30 3.4 MB
static-web-server-v2.40.0-i686-unknown-freebsd.tar.gz 2025-11-30 3.4 MB
static-web-server-v2.40.0-x86_64-unknown-freebsd.tar.gz 2025-11-30 3.5 MB
static-web-server-v2.40.0-aarch64-pc-windows-msvc.zip 2025-11-30 3.0 MB
static-web-server-v2.40.0-i686-pc-windows-msvc.zip 2025-11-30 2.8 MB
static-web-server-v2.40.0-x86_64-unknown-illumos.tar.gz 2025-11-30 3.5 MB
static-web-server-v2.40.0-armv7-unknown-linux-gnueabihf.tar.gz 2025-11-30 3.3 MB
static-web-server-v2.40.0-s390x-unknown-linux-gnu.tar.gz 2025-11-30 3.7 MB
static-web-server-v2.40.0-powerpc64le-unknown-linux-gnu.tar.gz 2025-11-30 3.7 MB
static-web-server-v2.40.0-arm-unknown-linux-gnueabihf.tar.gz 2025-11-30 3.3 MB
static-web-server-v2.40.0-arm-unknown-linux-musleabihf.tar.gz 2025-11-30 3.4 MB
static-web-server-v2.40.0-x86_64-unknown-linux-musl.tar.gz 2025-11-30 3.7 MB
static-web-server-v2.40.0-x86_64-unknown-netbsd.tar.gz 2025-11-30 3.6 MB
static-web-server-v2.40.0-aarch64-unknown-linux-musl.tar.gz 2025-11-30 3.4 MB
static-web-server-v2.40.0-i686-unknown-linux-musl.tar.gz 2025-11-30 3.3 MB
static-web-server-v2.40.0-armv7-unknown-linux-musleabihf.tar.gz 2025-11-30 3.3 MB
static-web-server-v2.40.0-i686-unknown-linux-gnu.tar.gz 2025-11-30 3.4 MB
static-web-server-v2.40.0-aarch64-linux-android.tar.gz 2025-11-30 3.3 MB
static-web-server-v2.40.0-aarch64-unknown-linux-gnu.tar.gz 2025-11-30 3.3 MB
static-web-server-v2.40.0-x86_64-unknown-linux-gnu.tar.gz 2025-11-30 3.6 MB
static-web-server-v2.40.0-aarch64-apple-darwin.tar.gz 2025-11-30 3.0 MB
static-web-server-v2.40.0-x86_64-apple-darwin.tar.gz 2025-11-30 3.4 MB
README.md 2025-11-30 2.5 kB
v2.40.0 source code.tar.gz 2025-11-30 243.4 kB
v2.40.0 source code.zip 2025-11-30 360.2 kB
Totals: 27 Items   78.0 MB 0

This new v2.40.0 release introduces important security bug fixes, performance, resource, and binary size optimisations, rootless Debian and Alpine Docker images, support for content negotiation of Markdown files and other enhancements.

For more details about the changes, take a look at the corresponding PR and documentation links.

Fixes

  • 55562a1 Update dependencies like rustls, tracing, async-compression, clap, bytes and others. [#582], [#589] by @joseluisq
  • 0fedeb3 library: Crate documentation issues. [#583] by @joseluisq

Features

  • ee4b049 Add armv7-unknown-linux-gnueabihf target. [#586] by @joseluisq
  • 2c25d82 Content negotiation for Markdown files via Accept header. [#577] by @davlgd, see docs.
  • 326abbe library: Add exit_on_error option to Server::run_server_on_rt function to control server termination. [#578] by @frnsys

Refactorings

  • c66c791 Docker: Prefer dynamically-linked binaries for Debian Docker images, which reduces containers' memory usage significantly. [#588] by @joseluisq
  • afddfd6 Drop jemalloc in favour of mimalloc for MUSL targets, which reduces statically-linked binaries' memory usage. [#587] by @joseluisq
  • 557363e Replace regex crate with regex-lite to reduce binary size. [#581] by @joseluisq
  • b234984 Docker: Rootless Debian and Alpine Docker images, which reduce the attack surface and improve security. [#567] by @joseluisq, read the docs.
    • Update for Docker users: Only if you are using the default /public directory as Docker volume without any --root or SERVER_ROOT env, then change it to point to /var/public instead or provide a custom root directory.
  • d48da4c Simplify the default public directory of Docker image and default error pages, which improves the default index and error pages' responsiveness in the browser. [#579] by @joseluisq
  • ce5b4fab Drop lazy_static and prefer fixed text mime types for dynamic compression. [#580] by @joseluisq
  • ea9f43f CI: Move perfcheck workflow behind a PR comment trigger. [#584] by @joseluisq

For more details see the v2.40.0 milestone and the full changelog v2.39.0...v2.40.0.

Source: README.md, updated 2025-11-30