#web-framework #framework #web

zino

Next-generation framework for composable applications in Rust

150 releases (33 breaking)

Uses new Rust 2024

new 0.34.0 Mar 30, 2025
0.33.0 Feb 27, 2025
0.30.1 Dec 22, 2024
0.26.3 Nov 30, 2024
0.1.2 Dec 29, 2022

#202 in HTTP server

Download history 916/week @ 2024-12-08 593/week @ 2024-12-15 160/week @ 2024-12-22 5/week @ 2024-12-29 158/week @ 2025-01-05 270/week @ 2025-01-12 60/week @ 2025-01-19 109/week @ 2025-01-26 58/week @ 2025-02-02 136/week @ 2025-02-09 204/week @ 2025-02-16 337/week @ 2025-02-23 93/week @ 2025-03-02 59/week @ 2025-03-09 32/week @ 2025-03-16 127/week @ 2025-03-23

352 downloads per month
Used in zino-cli

MIT license

685KB
15K SLoC

github crates-io docs-rs

zino is a next-generation framework for composable applications in Rust which emphasizes simplicity, extensibility and productivity.

Highlights

  • 🚀 Out-of-the-box features for rapid application development.
  • 🎨 Minimal design, composable architecture and high-level abstractions.
  • 🌐 Adopt an API-first approch to development with open standards.
  • ⚡ Embrace practical conventions to get the best performance.
  • 💎 Highly optimized ORM for MySQL, PostgreSQL and SQLite based on sqlx.
  • ✨ Innovations on query population, field translation and model hooks.
  • 📅 Lightweight scheduler for sync and async cron jobs.
  • 💠 Unified access to storage services, data sources and chatbots.
  • 📊 Built-in support for tracing, metrics and logging.
  • 💖 Full integrations with actix-web, axum, dioxus and more.

Getting started

You can start with the example actix-app, axum-app, dioxus-desktop or ntex-app.

Here is the simplest application to run a server:

[package]
name = "zino-app"
version = "0.1.0"
edition = "2024"
rust-version = "1.85"

[dependencies]
zino = { version = "0.33", features = ["axum"] }
use zino::prelude::*;

fn main() {
    zino::Cluster::boot().run()
}

Feature flags

The following optional features are available:

Name Description Default?
actix Enables the integration with actix-web. No
auth Enables the authentication and authorization. No
axum Enables the integration with axum. No
cookie Enables the support for cookies. No
debug Enables the features for ease of debugging. No
dioxus Enables the integration with dioxus. No
i18n Enables the support for internationalization. No
inertia Enables the support for the Inertial protocol. No
jwt Enables the support for JSON Web Token. No
logger Enables the default logger. Yes
metrics Enables the metrics exporter. No
ntex Enables the integration with ntex. No
opa Enables the support for OPA via regorus. No
orm Enables the ORM for MySQL, PostgreSQL or SQLite. No
preferences Enables the support for application preferences. No
view Enables the HTML template rendering. No

Dependencies

~23–80MB
~1.5M SLoC