Crates.io | zino |
lib.rs | zino |
version | 0.25.3 |
source | src |
created_at | 2022-12-29 03:19:54.440935 |
updated_at | 2024-10-17 09:59:46.390713 |
description | Next-generation framework for composable applications in Rust. |
homepage | https://github.com/zino-rs/zino |
repository | https://github.com/zino-rs/zino |
max_upload_size | |
id | 747121 |
size | 135,372 |
zino
is a next-generation framework for composable applications in Rust
which emphasizes simplicity, extensibility and productivity.
sqlx
.tracing
, metrics
and logging.actix-web
, axum
, dioxus
and ntex
.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 = "2021"
[dependencies]
zino = { version = "0.25", features = ["axum"] }
use zino::prelude::*;
fn main() {
zino::Cluster::boot().run()
}
The following optional features are available:
Name | Description | Default? |
---|---|---|
actix |
Enables the integration with actix-web . |
No |
axum |
Enables the integration with axum . |
No |
debug |
Enables the features for ease of debugging. | No |
dioxus |
Enables the integration with dioxus . |
No |
i18n |
Enables the support for internationalization. | No |
jwt |
Enables the support for JSON Web Token. | No |
logger |
Enables the default logger. | Yes |
ntex |
Enables the integration with ntex . |
No |
oidc |
Enables the support for OIDC via rauthy . |
No |
opa |
Enables the support for OPA via regorus . |
No |
orm |
Enables the ORM for MySQL, PostgreSQL or SQLite. | No |