44 releases
Uses new Rust 2024
| 1.0.0-pre.e025b58 | Jan 4, 2026 |
|---|---|
| 1.0.0-pre.cfad518 | Dec 28, 2025 |
| 1.0.0-pre.0ba09a6 | Jan 3, 2026 |
| 0.8.9 | Jun 21, 2024 |
| 0.0.8 | Dec 16, 2017 |
#34 in HTTP server
11,558 downloads per month
330KB
2.5K
SLoC
http-server
Simple and configurable command-line HTTP server
Development
[!NOTE] The source code in
mainbelongs to the code for the version1.0.0.
Release Build
Build release binaries with:
make release
Optionally you can build for other targets by specifying the TARGET variable
make release TARGET=<target-triple>
For example:
# Install aarch64-unknown-linux-gnu target
rustup target install aarch64-unknown-linux-gnu
# Build for aarch64-unknown-linux-gnu target
make release TARGET=aarch64-unknown-linux-gnu
Then use the following alias for convenience
alias htps = './target/release/http-server'
Release
In order to create a release you must push a Git tag as follows
git tag -a <version> -m <message>
Example
git tag -a v0.1.0 -m "First release"
Tags must follow semver conventions. Tags must be prefixed with a lowercase
vletter.
Then push tags as follows:
git push origin main --follow-tags
Contributing
Every contribution to this project is welcome. Feel free to open a pull request or an issue. Just by using this project you're helping it grow. Thank you!
License
Distributed under the terms of both the MIT license and the Apache License (Version 2.0)
Dependencies
~25–42MB
~590K SLoC