-
There are several gRPC implementations in Rust. For this project, tonic is used.
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
exploring-rust-ecosystem
A set of examples that demonstrate how to create a backend application using Rust ecosystem
gRPC server
-
rust-embed
Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
Images of planets are included in the application binary at compile time using rust_embed crate (at the development time they are loaded from a file system).
-
As was said earlier, for visibility purposes, gRPC client is also a Telegram bot. To implement the bot, teloxide library was used.
-
To perform requests to the server you can use some gRPC client (for example, BloomRPC):
-
In this article, you will see how to create gRPC server and client in Rust. For visibility purposes, the client will also be a Telegram bot. Finally, the following architecture will be obtained:
-
Service definition is written in proto3 version of Protocol Buffers language and is located in the .proto file:
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives