2020-12-01
1426
#rust
Anshul Goyal
29715
Dec 1, 2020 â‹… 5 min read

Rust and gRPC: A complete guide

Anshul Goyal I love to code and use new technologies.

Recent posts:

Solid Principles For Javascript

SOLID principles for JavaScript

SOLID principles help us keep code flexible. In this article, we’ll examine all of those principles and their implementation using JavaScript.

Frank Joseph
Dec 5, 2024 â‹… 10 min read
Master JavaScript Date And Time: From Moment.js To Temporal

Master JavaScript date and time: From Moment.js to Temporal

JavaScript’s Date API has many limitations. Explore alternative libraries like Moment.js, date-fns, and the new Temporal API.

Yan Sun
Dec 4, 2024 â‹… 9 min read
Npm Vs. Npx: What’s The Difference?

npm vs. npx: What’s the difference?

Explore use cases for using npm vs. npx such as long-term dependency management or temporary tasks and running packages on the fly.

Fimber Elemuwa
Dec 3, 2024 â‹… 5 min read
How To Audit And Validate AI-Generated Code Output

How to audit and validate AI-generated code output

Validating and auditing AI-generated code reduces code errors and ensures that code is compliant.

Boemo Mmopelwa
Dec 2, 2024 â‹… 5 min read
View all posts

5 Replies to "Rust and gRPC: A complete guide"

  1. This article could benefit from a bit of proof-reading/editing.
    “We can include generated rust code in-app using `tonic`.” should not be in a code-block.
    tonic and tokio needed to be added to Cargo.toml – and I’m unsure what the “use” clauses are trying to refer to (e.g. use hello::say_server::SayServer;) – but this may also be because I’m fairly new to Rust.

    FWIW, I’m finding this helpful for resolving my confusion: https://github.com/hyperium/tonic/blob/master/examples/helloworld-tutorial.md

    1. agreed.
      I tried to follow the tonic step as well but where to put the `.proto`, nor how to build is well defined here.

      The given link is much clearer thx.

Leave a Reply