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
- Host: GitHub
- URL: https://github.com/krystianity/rust-ms
- Owner: krystianity
- Created: 2017-08-19T16:25:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-09T22:33:51.000Z (about 7 years ago)
- Last Synced: 2025-04-10T05:04:21.647Z (12 months ago)
- Topics: config, json, logger, microservice, orm, redis, rust, rust-lang, skeleton
- Language: Rust
- Homepage:
- Size: 54.7 KB
- Stars: 14
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.