oxidy
Super Fast & High Performance minimalist web framework for rust
use Context;
use Server;
use Middleware;
use Instant;
Description
Super Fast & High Performance minimalist web framework for rust built on top of rust standard library TcpListener & TcpStream.
This project is highly inspired by
- Nodejs Express
- Nodejs Koa
Features
- Main Focus on Super Fast & High Performance.
- Very minimum LOC (Lines of code).
- No Unsafe Code.
- Robust Routing.
- Allow Middlewares.
- Easy to build your own middleware;
- Allow Multi Threading.
Install
This is a crate (Rust Module) available on crate.io. Before install download & install rust.
Quick Start
- Add oxidy to your dependency in Cargo.toml file
[dependencies]
oxidy = "<version>"
-
Paste this code below in your src/main.rs file
-
cargo run to run the server in development or cargo run --release to run the server in release profile.
use Context;
use Server;
Tested On Rust Stable Version & Edition 2021
License
GNU GPL v2.0