Skip to content

Ohkami

Active
ohkami-rs/ohkami

A performant, declarative and runtime-flexible Rust web framework that runs on tokio, smol and other runtimes, Cloudflare Workers and AWS Lambda.

View on GitHub
Stars
337
Forks
18
Watchers
337
Open issues
35

Overview

Ohkami — wolf in Japanese — is a performant, declarative and runtime-flexible web framework for Rust.

Features

  • Macro-less, type-safe APIs for declarative, ergonomic code
  • Runtime-flexible — tokio, smol, nio, monoio, compio, worker (Cloudflare Workers) and lambda (AWS Lambda)
  • Good performance and no-network testing
  • Well-structured middleware, Server-Sent Events and WebSocket
  • Highly integrated OpenAPI document generation

Quick start

[dependencies]
ohkami = { version = "0.24", features = ["rt_tokio"] }
tokio  = { version = "1", features = ["full"] }

Switch the runtime feature to rt_worker to build the same app for Cloudflare Workers.

Similar open-source projects, ranked by shared categories and tags.

All Web Framework projects →