5 releases
| 0.2.4 | Oct 24, 2024 |
|---|---|
| 0.2.3 |
|
| 0.1.3 | Oct 13, 2024 |
#657 in HTTP server
300 downloads per month
29KB
418 lines
Simple HTTP Server Library
A lightweight and straightforward HTTP server library written in Rust. This library is designed to handle basic HTTP requests and responses using minimal external dependencies, only relying on log and anyhow.
Features
- Lightweight HTTP server implementation.
- Simple request routing with support for multiple HTTP methods.
- Uses only
logfor logging andanyhowfor error handling. - Thread-safe argument handling with
Arc<RwLock<Args>>.
Getting Started
Prerequisites
- Rust (version 1.47 or higher)
Installation
Add the following to your Cargo.toml:
[dependencies]
fobserver = "0.2.4"
Dependencies
~230KB