Krustie - A Basic Backend Framework
Krustie is a backend written in Rust. It is a work in progress and is not yet ready for use.
It is a hobby project and is intended to be a learning experience for me. I am not a professional developer and I am learning as I go. I am open to feedback and suggestions.
Features
- Basic request and response handling
- Stacked Router
- Server Middleware support
- Router Middleware support
- Static file serving
- Compression (gzip)
Getting Started
Prerequisites
- Rust
- Cargo
Installation
- Add Krustie to your
Cargo.toml:
[]
= "0.1.4"
or use cargo add in your terminal:
- Start your server:
use ;
use ;
- Run your server:
Contributing
As an inexperienced developer contributions will be welcomed. Please open an issue or a pull request.
Planned Features
Basic Server Features
- Database support
- Authentication
- Authorization
- Error handling
- File uploads
- Websockets
Basic Web Server Features
- Templating
- Session management
Basic API Server Features
- JSON parsing
- XML parsing
- Query parameter parsing
- Request validation
- Response formatting
Security
- Rate limiting
- CSRF protection
- XSS protection
- SQL injection protection
- Secure headers
- Content Security Policy
Performance
- Caching
- Connection pooling
- Load balancing
- Clustering
Monitoring
- Metrics
- Tracing
- Logging
Documentation
- API documentation
- Code documentation
- Examples