hotaru_core

Crates.iohotaru_core
lib.rshotaru_core
version0.7.7
created_at2025-11-21 15:43:27.194507+00
updated_at2026-01-13 16:55:13.07139+00
descriptionSmall, sweet, easy framework for full-stack web application
homepage
repositoryhttps://github.com/Field-of-Dreams-Studio/hotaru
max_upload_size
id1943733
size617,069
(JerrySu5379)

documentation

README

hotaru_core

Crates.io

Core framework for building multi-protocol web applications in Rust. Provides HTTP/HTTPS server implementation, URL routing, middleware system, and protocol abstraction layer.

Features

  • HTTP/1.1 Server - Full HTTP protocol implementation with chunked encoding, compression, cookies
  • Multi-Protocol Support - Abstract protocol layer for HTTP, WebSocket, custom TCP protocols
  • Flexible Routing - Priority-based URL matching with regex patterns and dynamic parameters
  • Middleware System - Composable request/response processing pipeline
  • TLS Support - Built-in HTTPS with rustls
  • Security - Configurable size limits, method filtering, and input validation
  • Async/Await - Built on Tokio for high-performance async I/O

Architecture

Application
  ├─ Protocol Layer (HTTP, WebSocket, TCP)
  ├─ URL Routing Tree
  ├─ Middleware Chain
  └─ Request/Response Context

Usage

This is the core framework library. For application development, use the hotaru crate which provides a more convenient API.

[dependencies]
hotaru_core = "0.7.5"

Documentation

For detailed documentation and examples, see the Hotaru web framework.

License

GPL-3 License

Part of Hotaru Framework

This is the core crate for the Hotaru web framework.

Learn more: https://fds.rs

Commit count: 9

cargo fmt