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]
Installation
Currently only available on crates.io
bash
cargo install servust
Usage
```bash
USAGE:
servust [OPTIONS] --framework --orm
ARGS:
The name of the server
OPTIONS:
-d, --database database to be used (postgres, mysql, sqlite) default: postgres
-f, --framework library/framework to be used (actix, warp, axum, tonic)
-h, --help Print help information
-o, --orm ORM to be used (diesel, sea-orm)
-V, --version Print version information
```
Example
bash
servust --framework actix --orm diesel --database postgres my-server

Support
Frameworks
- [x] [actix](https://actix.rs)
- [x] [tonic](https://github.com/hyperium/tonic)
- [x] [salvo](https://salvo.rs)
- [ ] rocket
- [ ] warp
- [ ] axum
ORMs
- [x] Diesel.rs
- [x] Sea-ORM
Databases
- [x] Postgres
- [x] MySQL
- [x] SQLite
Types
- [x] With ORM + Database
- [ ] Without ORM / Database
- [ ] With Database only