Syter6-Rustful
Syter6-Rustful is a lightweight, minimalistic api framework for Rust, designed to provide basic request handling, routing, and response management. It offers just enough functionality to build simple web applications without unnecessary complexity.
Features
- Define and register routes easily
- Supports
GET,POST,PUT, andDELETEmethods - Pass request metadata to controllers
- Return structured responses with status codes
- Minimal setup required
Installation
Add this to your Cargo.toml:
[]
= "0.1.2"
Usage
#1 Create a controller with actions that will use
;
#2 Create a method to return a list of all routes. To add a parameter that can be found using the route rover, add the name between brackets ('{' and '}')
#3 Start the server. Pass along the routing method, and the address where the api can run on.