fobserver

Crates.iofobserver
lib.rsfobserver
version0.2.4
created_at2024-10-12 19:47:23.986589+00
updated_at2024-10-24 09:31:36.188524+00
descriptionA lightweight and straightforward HTTP server library written in Rust
homepage
repositoryhttps://github.com/Enrico-Fabbri/fobserver
max_upload_size
id1406795
size28,011
Enrico Leonardo Fabbri (Enrico-Fabbri)

documentation

README

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 log for logging and anyhow for 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"
Commit count: 0

cargo fmt