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.
- 💎 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.
Here is the simplest application to run a server:
[]
= "zino-app"
= "0.1.0"
= "2024"
= "1.88"
[]
= { = "0.42", = ["axum"] }
use *;
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 Inertia 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 |