github static-web-server/static-web-server v2.0.0-beta.4

latest releases: v2.33.1, v2.33.0, v2.32.2...
pre-release3 years ago

Fourth beta release v2.0.0-beta.4 with notable changes.

Updates

  • a8b9379 Binaries compiled with latest Rust 1.52.1 release.
  • c3389cc Update dependencies including latest Hyper, Tokio and related crates. (also 7cbe483)

Features

  • 21bdf8c Support inheriting TCP listener from parent process via file descriptor (-f, --fd). PR #40 by @tim-seoss.
  • 5428eb3 Redefined directory listing (-z, --directory-listing). PR #41
  • d389803 Opt-in response body auto compression (Gzip, Deflate, Brotli) based on Accept-Encoding header (-x, --compression).
  • 74b9eaf Just one file associated metadata per request as possible.
  • af9a329 CORS support (-c, --cors-allow-origins).
  • 6ed3fe5 Unix-like termination signals handling.

Refactorings

  • a8d462a Drop Warp in favor of just Hyper + Tokio. PR #38
  • 04ec1b1 One worker thread per available core by default (-n, --threads-multiplier).
  • 991d4b8 Introduce a custom Hyper service implementation for the HTTP1 & HTTP2 web servers.
  • 58ff9b7 Reject non HEAD or GET requests on static assets and error page handlers.
  • 5cede7e Log info for compression and directory listing features.

Docs

All feature flags as well as their equivalent environment variables are described on the updated README file.

Don't miss a new static-web-server release

NewReleases is sending notifications on new releases.