Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 2.03 KB

File metadata and controls

75 lines (55 loc) · 2.03 KB

Servust

Generate Rust backend boilerplate instantly — like create-react-app, but for Rust web frameworks.

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

Documentation · Matrix


Install

cargo install servust

Usage

servust --framework <FRAMEWORK> --orm <ORM> [--database <DATABASE>] [--no-orm] <NAME>
# actix + diesel + postgres
servust --framework actix --orm diesel --database postgres my-server

# axum, no ORM
servust --framework axum --no-orm my-server

CLI Run

Options

Flag Description
-f, --framework actix · axum · salvo · tonic
-o, --orm diesel · sea-orm
-d, --database postgres · mysql · sqlite (default: postgres)
--no-orm Skip ORM setup entirely

Support

Frameworks

ORMs

Databases

  • PostgreSQL
  • MySQL
  • SQLite

Modes

  • Framework + ORM + Database
  • Framework only (via --no-orm)
  • Database only