index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2021-10-31 21:43:34.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2021-10-31 21:43:34.0 +00:00:00
commit
c8fe165c7ea8de0eb2ff09128eb115d9d8773823 [patch]
tree
374eb77e99758cdd6b2b990a50cb46a871408692
parent
1686daf659fb38daf323041de4a6018b39576ce4
download
c8fe165c7ea8de0eb2ff09128eb115d9d8773823.tar.gz

v1.18.1



Diff

 .drone.yml                    |  6 +++---
 .github/workflows/devel.yml   |  2 +-
 .github/workflows/release.yml |  2 +-
 CHANGELOG.md                  | 11 +++++++++++
 Cargo.lock                    |  2 +-
 Cargo.toml                    |  2 +-
 README.md                     | 13 +++++++------
 7 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index 1d135e1..7b0debd 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -9,7 +9,7 @@ platform:

steps:
- name: test
  image: joseluisq/rust-linux-darwin-builder:1.53.0
  image: joseluisq/rust-linux-darwin-builder:1.56.0
  volumes:
    - name: cargo-target
      path: /drone/src/target
@@ -139,7 +139,7 @@ platform:

steps:
- name: test
  image: joseluisq/rust-linux-darwin-builder:1.53.0
  image: joseluisq/rust-linux-darwin-builder:1.56.0
  volumes:
    - name: cargo-target
      path: /drone/src/target
@@ -151,7 +151,7 @@ steps:
    - make test

- name: release
  image: joseluisq/rust-linux-darwin-builder:1.53.0
  image: joseluisq/rust-linux-darwin-builder:1.56.0
  volumes:
    - name: cargo-target
      path: /drone/src/target
diff --git a/.github/workflows/devel.yml b/.github/workflows/devel.yml
index c390a9c..9664e95 100644
--- a/.github/workflows/devel.yml
+++ b/.github/workflows/devel.yml
@@ -50,7 +50,7 @@ jobs:
          target: x86_64-unknown-linux-musl
        - build: linux-musl-arm64
          os: ubuntu-20.04
          rust: nightly
          rust: stable
          target: aarch64-unknown-linux-musl
        - build: linux-gnu
          os: ubuntu-20.04
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d79c71d..fc888f3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -65,7 +65,7 @@ jobs:
          target: x86_64-unknown-linux-musl
        - build: linux-musl-arm64
          os: ubuntu-20.04
          rust: nightly
          rust: stable
          target: aarch64-unknown-linux-musl
        - build: linux-gnu
          os: ubuntu-20.04
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c5d8864..373de56 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

_**Note:** See changelog for v2 under the [master]https://github.com/joseluisq/static-web-server/blob/master/CHANGELOG.md branch._

## v1.18.1 - 2021-10-31

__Updates__

- [1bccef4]https://github.com/joseluisq/static-web-server/commit/1bccef4 Update dependencies including OpenSSL, libc, ctrlc security/bug fixes and related crates (also [7178d5d]https://github.com/joseluisq/static-web-server/commit/7178d5d, [250a47f]https://github.com/joseluisq/static-web-server/commit/250a47f).

__Refactorings__

- [247869f]https://github.com/joseluisq/static-web-server/commit/247869f Fix Rust 2018 Edition idioms
- [1686daf]https://github.com/joseluisq/static-web-server/commit/1686daf Use Rust `1.56.0` (2021 Edition) on CI

## v1.18.0 - 2021-08-20

__Updates__
diff --git a/Cargo.lock b/Cargo.lock
index 0534078..9f48b51 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -872,7 +872,7 @@ checksum = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac"

[[package]]
name = "static-web-server"
version = "1.18.0"
version = "1.18.1"
dependencies = [
 "chrono",
 "ctrlc",
diff --git a/Cargo.toml b/Cargo.toml
index b2695e4..768ecfd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "static-web-server"
version = "1.18.0"
version = "1.18.1"
authors = ["Jose Quintana <https://git.io/joseluisq>"]
license = "MIT OR Apache-2.0"
description = "A blazing fast static files-serving web server powered by Rust Iron."
diff --git a/README.md b/README.md
index 751537f..3830f75 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,17 @@
# Static Web Server [![CI]https://github.com/joseluisq/static-web-server/workflows/CI/badge.svg?branch=1.x]https://github.com/joseluisq/static-web-server/actions?query=workflow%3ACI [![Docker Image Version (tag latest semver)]https://img.shields.io/docker/v/joseluisq/static-web-server/1]https://hub.docker.com/r/joseluisq/static-web-server/ [![Docker Image Size (tag)]https://img.shields.io/docker/image-size/joseluisq/static-web-server/1]https://hub.docker.com/r/joseluisq/static-web-server/tags [![Docker Image]https://img.shields.io/docker/pulls/joseluisq/static-web-server.svg]https://hub.docker.com/r/joseluisq/static-web-server/

*This is the stable `v1`. For the `v2` refer to [master]https://github.com/joseluisq/static-web-server branch.*

_To migrate to `v2` please take a look at [v2.0.0]https://github.com/joseluisq/static-web-server/releases/tag/v2.0.0 release._
_**Note:** To migrate to latest `v2` please take a look at [Migrating from `v1` to `v2`]https://sws.joseluisq.net/migration/._

> A blazing fast static files-serving web server powered by [Rust Iron]https://github.com/iron/iron. ⚡

*This is the stable `v1`. For the latest `v2` refer to [master]https://github.com/joseluisq/static-web-server branch.*

**Static Web Server** is a very small and fast production-ready web server to serving static web files or assets.

## Features

- Built with [Rust]https://rust-lang.org which is focused on [safety, speed, and concurrency]https://kornel.ski/rust-c-speed.
- Memory safety and very reduced CPU and RAM overhead.
- Memory safe and very reduced CPU and RAM overhead.
- Blazing fast static files-serving thanks to [Rust Iron]https://github.com/iron/iron and [Hyper]https://github.com/hyperium/hyper.
- No dependencies. Just a single __4MB__ and fully static binary ([Musl libc]https://doc.rust-lang.org/edition-guide/rust-2018/platform-and-target-support/musl-support-for-fully-static-binaries.html) which makes it suitable for running on [any Linux distro]https://en.wikipedia.org/wiki/Linux_distribution or [Docker container]https://hub.docker.com/r/joseluisq/static-web-server/tags.
- Gzip compression on demand via [accept-encoding]https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding header.
@@ -86,8 +86,9 @@ Server can be configured either via environment variables or their equivalent co
CLI arguments listed with `static-web-server -h`.

```
static-web-server 1.18.0
A blazing fast static files-serving web server powered by Rust Iron
static-web-server 1.18.1
Jose Quintana <https://git.io/joseluisq>
A blazing fast static files-serving web server powered by Rust Iron.

USAGE:
    static-web-server [OPTIONS]