zino
zino is a spec-driven strongly opinionated 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 approach to development with open standards.
- ⚡ Embrace practical conventions to get the best performance.
- 💎 Expressive 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 LLMs.
- 📊 Built-in support for
tracing,metricsand logging. - 💖 Full integrations with
actix-web,axum,dioxusand more.
Getting started
You can start with the example actix-app, axum-app, dioxus-desktop or ntex-app. It requires Rust 1.90+ to build the project.
shell
cd examples/axum-app
cargo runHere is the simplest application to run a server:
toml
[package]
name = "zino-app"
version = "0.1.0"
edition = "2024"
rust-version = "1.90"
[dependencies]
zino = { version = "0.44", features = ["axum"] }rust
use zino::prelude::*;
fn main() {
zino::Cluster::boot().run()
}Crates
| Name | Description | Crates.io | Documentation |
|---|---|---|---|
zino-core | Core types and traits. | ||
zino-auth | Authentication and authorization. | ||
zino-channel | Cloud events and subscriptions. | ||
zino-storage | Files and storage services. | ||
zino-http | Requests and responses. | ||
zino-openapi | OpenAPI docs generator. | ||
zino-orm | Database schema and ORM. | ||
zino-derive | Derived traits. | ||
zino-model | Domain models. | ||
zino-connector | Connector to data sources. | ||
zino-extra | Extra utilities. | ||
zino-actix | Integrations with actix-web. | ||
zino-axum | Integrations with axum. | ||
zino-ntex | Integrations with ntex. | ||
zino-dioxus | Dioxus components. | ||
zino-amis | UI generator for amis. | ||
zino-cli | CLI tools. |
License
This project is licensed under the MIT license.
Community
If you have any problems or ideas, please don't hesitate to open an issue.
