ohkami 0.1.4

simple and non macro-based web framework
Documentation

ohkami - [狼] means wolf in Japanese - is simple and non macro-based web framework for Rust.

Features

  • simple: Less things to learn / Less code to write / Less time to hesitate.
  • non macro-based: No need for using macros.

Quick start

  1. Add dependencies:
[dependencies]
ohkami = "0.1"
  1. Write your first code with ohkami:
use ohkami::prelude::*;

fn main() -> Result<()> {
    Server::setup()
        .GET("/", |_| async {Response::OK(Body::text("Hello, world!"))})
        .serve_on(":3000")
}
  1. If you're interested in ohkami, learn more by examples and documentations(WIP)!

Development

ohkami is on very early stage now, so not for any producntion use.

License

This project is under MIT LICENSE (LICENSE-MIT or https://opensource.org/licenses/MIT).