11 releases

0.2.6 Nov 30, 2022
0.2.5 Oct 15, 2022
0.1.5 Sep 29, 2022

#116 in Development tools

Download history 11/week @ 2022-11-23 28/week @ 2022-11-30 2/week @ 2022-12-07 3/week @ 2022-12-14 17/week @ 2022-12-21 6/week @ 2022-12-28 1/week @ 2023-01-04 6/week @ 2023-01-11 1/week @ 2023-01-18 6/week @ 2023-01-25 6/week @ 2023-02-01 17/week @ 2023-02-08 38/week @ 2023-02-15 22/week @ 2023-03-08

60 downloads per month

MIT license

34KB
493 lines

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

Dependencies

~8–17MB
~332K SLoC