Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giripriyadarshan/servust
generate quick templates of rust backend servers
https://github.com/giripriyadarshan/servust
orm rust server
Last synced: about 2 months ago
JSON representation
generate quick templates of rust backend servers
- Host: GitHub
- URL: https://github.com/giripriyadarshan/servust
- Owner: giripriyadarshan
- License: mit
- Created: 2022-09-03T07:39:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-10T14:25:51.000Z (over 1 year ago)
- Last Synced: 2024-10-31T11:48:07.772Z (2 months ago)
- Topics: orm, rust, server
- Language: Rust
- Homepage: https://servust.giripriyadarshan.com
- Size: 1.18 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
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 link] [![Crates.io Downloads]][crates.io link] [![crates.io license]][crates.io link] [![Github image]][Github status]
Support:
[![Matrix image]][Matrix link]
### [Documentation](https://servust.giripriyadarshan.com)
---
### Installation
Currently only available on crates.io
```bash
cargo install servust
```### Usage
```bash
Usage: servust [OPTIONS] --framework --ormArguments:
The name of the serverOptions:
-f, --framework library/framework to be used (actix, warp, axum, tonic)
-o, --orm ORM to be used (diesel, sea-orm)
-d, --database database to be used (postgres, mysql, sqlite) default: postgres
-h, --help Print help information
-V, --version Print version information
```### Example
```bash
servust --framework actix --orm diesel --database postgres my-server
```![CLI Run](https://github.com/giripriyadarshan/servust/blob/main/assets/img/servust_cli.gif?raw=true)
### Support
#### Frameworks
- [x] [actix](https://actix.rs)
- [x] [tonic](https://github.com/hyperium/tonic)
- [x] [salvo](https://salvo.rs)
- [x] [axum](https://github.com/tokio-rs/axum)
- [ ] rocket
- [ ] warp#### 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[crates.io link]: https://crates.io/crates/servust
[crates.io version]: https://img.shields.io/crates/v/servust
[Crates.io Downloads]: https://img.shields.io/crates/d/servust
[crates.io license]: https://img.shields.io/crates/l/servust
[Github image]: https://github.com/giripriyadarshan/servust/workflows/ci/badge.svg
[Github status]: https://github.com/giripriyadarshan/servust/actions
[Matrix image]: https://img.shields.io/matrix/giripriyadarshan-servust:matrix.org
[Matrix link]: https://matrix.to/#/#giripriyadarshan-servust:matrix.org