integra-0.0.4 has been yanked.
Integra Web Framework
Integra is a sleek, performant web framework for Rust, harnessing the power of the hyper library.
🌟 Features
- Fast: Built on top of
hyper, one of the Rust's fastest web libraries. - Explicit Routing: Define routes explicitly with a clear and intuitive router reminding you Laravel.
- Safety First: Benefit from Rust's strong safety guarantees.
- Minimalistic Design: No bloat, just the essentials.
🚀 Quickstart
-
Create a New Project: Start by creating a new Rust project.
-
Add Dependencies: Open
Cargo.tomland add the following lines under[dependencies]:[] = { = "0.0.4" } = { = "1", = ["full"] } = "0.14" -
Setup Your Server: In
src/main.rs, you can use the following template to set up a basic server:use ROUTER; use ; use Infallible; async -
Define Your Routes: In the
webmodule (usually a file namedweb.rsin the root), use Integra's routing system:use crate; use Route; -
Define Your App: In the
appmodule (usually a file namedapp.rsin the root):use ; use Pin; use Future;
📘 Usage
To-do
🤝 Contributing
To-do