An open API service indexing awesome lists of open source software.

https://github.com/krystianity/rust-ms

:fishing_pole_and_fish: Secure High Performance Microservice Skeleton
https://github.com/krystianity/rust-ms

config json logger microservice orm redis rust rust-lang skeleton

Last synced: 20 days ago
JSON representation

:fishing_pole_and_fish: Secure High Performance Microservice Skeleton

Awesome Lists containing this project

README

          

# rust-microservice skeleton

:fishing_pole_and_fish: Secure High Performance Microservices

## Ships with

* Logger
* JSON Config Loader
* HTTP Server `using iron/hyper`
* Redis Client
* HTTP Client `using reqwest/hyper`
* ORM (MySQL) Client `using diesel`
* Kafka Producer/Consumer `using rdkafka`

## Setup Instructions

* `git clone https://github.com/krystianity/rust-ms.git`
* `cd rust-ms`
* `cargo build`
* `RUST_LOG=rust_ms cargo run`

### rustfmt

Formats the sources according to community-standard/best practice.

Setup once with `rustup component add rustfmt`, then run `cargo fmt`.

### clippy

Rust's linter.

Setup once with `rustup component add clippy`, then run `cargo clippy`.