Crates.io | servust |
lib.rs | servust |
version | 0.2.6 |
source | src |
created_at | 2022-09-03 18:22:17.132558 |
updated_at | 2022-11-30 05:34:46.709877 |
description | Rust multiple backend-server template generator |
homepage | https://github.com/giripriyadarshan/servust |
repository | https://github.com/giripriyadarshan/servust |
max_upload_size | |
id | 658010 |
size | 75,841 |
Servust is a simple CLI tool to create a new project from a template, kind of like npx create-react-app
but for rust frameworks project.
Support:
Currently only available on crates.io
cargo install servust
Usage: servust [OPTIONS] --framework <FRAMEWORK> --orm <ORM> <NAME>
Arguments:
<NAME> The name of the server
Options:
-f, --framework <FRAMEWORK> library/framework to be used (actix, warp, axum, tonic)
-o, --orm <ORM> ORM to be used (diesel, sea-orm)
-d, --database <DATABASE> database to be used (postgres, mysql, sqlite) default: postgres
-h, --help Print help information
-V, --version Print version information
servust --framework actix --orm diesel --database postgres my-server
With ORM + Database
Without ORM / Database
With Database only