krustie 0.1.10

Krustie is a backend library written in Rust. Currently, it is a work in progress and not yet ready for production use.
Documentation
# Krustie - A Basic Backend Framework


[<img alt="github" src="https://img.shields.io/badge/github-krustie-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="20">](https://github.com/emrecancorapci/krustie)
[<img alt="crates.io" src="https://img.shields.io/crates/v/krustie.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](https://crates.io/crates/krustie)
[<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-krustie-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs" height="20">](https://docs.rs/krustie)
[<img alt="build status" src="https://img.shields.io/github/actions/workflow/status/emrecancorapci/krustie/rust.yml?branch=main&style=for-the-badge" height="20">](https://github.com/emrecancorapci/krustie/actions?query=branch%3main)

Krustie is a backend library written in Rust. It is currently a work in progress and not yet ready for production use. This project serves as a personal learning experience, and contributions or feedback are welcome.

## Features


- Stackable Router with parameter and query support
- Middleware support
- JSON parsing ([serde_json]https://crates.io/crates/serde_json)

### Builtin Middlewares


- Static file serving
- Rate limiter
- Gzip encoding ([flate2]https://crates.io/crates/flate2)

## Start your server


```rust
use krustie::{ Router, Server, StatusCode };

fn main() {
    let mut server = Server::create();
    let mut router = Router::new();

    router.get(|_, res| {
        res.status(StatusCode::Ok).body_text("Hello World!");
    });

    server.use_handler(router);

    server.listen((127, 0, 0, 1), 8080);
}
```

## Contributing


As an inexperienced developer contributions will be welcomed. Please open an issue or a pull request.