static-web-server

A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡

APACHE-2.0 License

Downloads
17.2K
Stars
1.2K
Committers
33

Bot releases are hidden (Show)

static-web-server - v1.2.0

Published by joseluisq almost 5 years ago

Features

  • 2979f7a0c56d5e3207a14949bcc5f2a19d35f3c9 Makes optional the error pages feature introducing default response HTML messages for 400 and 50x errors. (PR #7 resolves #6)

Refactors

  • 8a90486df37a598874ddae215c1d693b79666225 Update pages and assets example
  • 3e64cbbeb8d20d3d805d5418657f2116937664b3 Update server config information

Misc

  • 593ca98a192df95f0417372667f055b5ae35448e Minor documentation updates
  • 9f631089c2b664c78b43d86110ca5cfb570a0953 Disable Travis CI email notifications
static-web-server - v1.1.0

Published by joseluisq almost 5 years ago

Features

  • Rust v1.40.0 (73528e339 2019-12-16)
  • CLI options support. PR #4 resolves #1. See README file for more details.
  • Error pages support. PR #5 resolves #3. See README file for more details.
  • Binary size increment (0.4MB) from 1.4MB to 1.8MB.

Breaking changes

Due error HTML pages feature #5 now the server requires two settings for display 404 and 50x errors.

For example if you use environment variables try to append following variables with the two paths of your HTML pages:

#  HTML file path for 404 errors
SERVER_ERROR_PAGE_404=./public/404.html
# HTML file path for 50x errors
SERVER_ERROR_PAGE_50X=./public/50x.html

Or via CLI options:

--page404 <page404>    HTML file path for 404 errors [env: SERVER_ERROR_PAGE_404=]  [default: ./public/404.html]
--page50x <page50x>    HTML file path for 50x errors [env: SERVER_ERROR_PAGE_50X=]  [default: ./public/50x.html]

Refactors

  • 112a1f3b6f7a19a12b12cbbea6835da98ec2dd50 Update dockefile templates metadata
  • b34624cde39c645f4afe05b814e6a70bedb21c0a Dependency updates
  • 5e9abd4be188cbd21224a1d9c570d7d97829bda9 Apply cargo fix --edition to entire project
  • 4712b9cc3bc47cf5f87af6bcf8d989181d12004d Minor tweaks for Cargo make tasks
  • 6fb65b2e9090c6302796300880ae78839e06576a Rename env.rs to config.rs.
  • New updated fork dependency iron-staticfile-middleware
  • Minor project code base improvements
static-web-server - v1.0.0

Published by joseluisq almost 5 years ago

This is the first major release ⚡

Features

  • Rust v1.39.0 (4560ea788 2019-11-04)
  • Binary size reduction for this current release from 1.6MB to 1.4MB.
static-web-server - 1.0.0-beta.4

Published by joseluisq almost 5 years ago

Updates

  • eb960544c2 Refactor project structure
  • eb960544c2 Update dependencies
  • eb960544c2 Support for latest Rust v1.39.0 (4560ea788 2019-11-04)

Deployment

  • 2fd780e1da5eb12dfc563892da90c74747d1cc03 Fix Cargo package config file name and version extraction
  • 3a69088f18b89fd7325c21acb0a2e565e73c302f Fix release tarball files generation

Misc

  • Binary size reduction for this current release from 1.6M to 1.4M.
static-web-server - 1.0.0-beta.3

Published by joseluisq about 5 years ago

Features

  • Add Rust v1.38.0 (625451e37 2019-09-23) compiling support.
static-web-server - 1.0.0-beta.2

Published by joseluisq about 5 years ago