Srv Dev Server - Http dev server written in Rust
Go to file
Tim-Paik 2cda2c0a45 1.0.0-rc.4 add readme and 403 connection close bug fix 2021-08-25 20:41:59 +08:00
.github/workflows 0.8.2-beta Update Github automatic build 2021-08-23 14:18:14 +08:00
src 1.0.0-rc.4 add readme and 403 connection close bug fix 2021-08-25 20:41:59 +08:00
templates add LICENSE 2021-08-25 00:05:33 +08:00
.gitignore 0.1.0-alpha.0 2021-08-01 19:57:26 +08:00
Cargo.lock change name 2021-08-25 12:33:34 +08:00
Cargo.toml change name 2021-08-25 12:33:34 +08:00
LICENSE add LICENSE 2021-08-25 00:05:33 +08:00
README.md 1.0.0-rc.4 add readme and 403 connection close bug fix 2021-08-25 20:41:59 +08:00
screenshot.png 1.0.0-rc.4 add readme and 403 connection close bug fix 2021-08-25 20:41:59 +08:00

README.md

Srv Dev Server

This is a simple HTTP Server for use in a development environment, inspired by simple-http-server and caddy2, and it is also a practice project for me to learn rust.

Screenshot

screenshot

Built With

Features

  • Automatic generation of directory listings (default enabled)
  • Relative path/absolute path/support
  • Brotli/Gzip/Deflate streaming compression support (default disabled, disables Content-length and segmented downloads when enabled)
  • Control whether dotfiles are displayed and can be accessed (default disabled)
  • HTTP cache support, 304 support, Last-Modified/ETag support, of course you can also turn off cache
  • Clearly colored organized log
  • Disable access logging or disable all logging support
  • Automatically open default browser (default disabled)
  • Single-Page Application mode (always serve /index.html when the file is not found)
  • Custom listening address (default 0.0.0.0) Custom listening port number (default 8000)
  • HTTP Basic Authentication Support
  • TLS/SSL support, HTTP/2 support
  • One click to enable CORS, custom CORS header support
  • cargo doc support