servust

Crates.ioservust
lib.rsservust
version0.2.6
sourcesrc
created_at2022-09-03 18:22:17.132558
updated_at2022-11-30 05:34:46.709877
descriptionRust multiple backend-server template generator
homepagehttps://github.com/giripriyadarshan/servust
repositoryhttps://github.com/giripriyadarshan/servust
max_upload_size
id658010
size75,841
Priyadarshan Giri (giripriyadarshan)

documentation

README

Servust

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.

crates.io version Crates.io Downloads crates.io license Github image

Support:

Matrix image

Documentation


Installation

Currently only available on crates.io

cargo install servust

Usage

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

Example

servust --framework actix --orm diesel --database postgres my-server

CLI Run

Support

Frameworks

ORMs

  • Diesel.rs
  • Sea-ORM

Databases

  • Postgres
  • MySQL
  • SQLite

Types

  • With ORM + Database

  • Without ORM / Database

  • With Database only

Commit count: 117

cargo fmt