tikv / grpc-rs

The gRPC library for Rust built on C Core library and futures
Apache License 2.0
1.81k stars 253 forks source link

How do you get started w/this project? #464

Open filburt-turle opened 4 years ago

filburt-turle commented 4 years ago

Hi,

How do I get started with this project? I have a pre-existing project that I'm trying to integrate gRPC into it, but I'm not sure how I'm suppose to get started with this repo. Do I migrate over my other project into this project or am I suppose to place this project inside my current project?

Just looking for a little guidance as to what I'm suppose to do after I've built my proto files.

My particular use-case is to build a rust gRPC client that can talk to an already pre-established service in the cloud. So I just want to be able to get a client setup which can connect to a gRPC server in the cloud.

Any guidance would be helpful. Thanks in advance.

BusyJay commented 4 years ago

Basically you need to generate structs and services definitions and then use them in your project. You can see the README.md for a short usage introduction and see tests-and-example for basic usages.

hunterlxt commented 4 years ago

Good advice, grpc is a network component that many software depends on. There is no similar document for grpc-rs, but we indeed need a get started document to help more and more people using our library.