项目介绍
基于Rust语言的新一代组装式应用开发框架
项目详情
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.
- 📊 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] or [dioxus-desktop].
It requires Rust 1.95+ to build the project.
cd examples/axum-app
cargo runHere is the simplest application to run a server:
[package]
name = "zino-app"
version = "0.1.0"
edition = "2024"
rust-version = "1.95"
[dependencies]
zino = { version = "0.45", features = ["axum"] }use zino::prelude::*;
fn main() {
zino::Cluster::boot().run()
}Crates
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.