forked from photino/zino
40400cf248 | ||
---|---|---|
.github | ||
examples | ||
zino | ||
zino-chart | ||
zino-cli | ||
zino-core | ||
zino-derive | ||
zino-dioxus | ||
zino-extra | ||
zino-middleware | ||
zino-model | ||
zino-router | ||
zino-rpc | ||
zino-server | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
README.md
zino
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
andntex
.
Getting started
You can start with the example actix-app
, axum-app
, dioxus-desktop
or ntex-app
.
It requires Rust 1.75+ to build the project.
cd examples/axum-app
cargo run
Here is the simplest application to run a server:
[package]
name = "zino-app"
version = "0.1.0"
edition = "2021"
[dependencies]
zino = { version = "0.21", features = ["axum"] }
use zino::prelude::*;
fn main() {
zino::Cluster::boot().run()
}
Crates
Name | Description | Crates.io | Documentation |
---|---|---|---|
zino-core |
Core types and traits. | ||
zino-derive |
Derived traits. | ||
zino-model |
Domain models. | ||
zino-extra |
Extra utilities. | ||
zino-dioxus |
Dioxus components. | ||
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.