grpc-rs

(β˜… 1,852)

The gRPC library for Rust built on C Core library and futures

  • .clang-format
  • .clang-tidy
  • .gitignore
  • .gitmodules
  • Cargo.toml
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • cross_compile.md
  • LICENSE
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/tikv/grpc-rs

Downloads the entire project code from GitHub to your computer.

cd grpc-rs

Moves into the project folder you just downloaded.

2. Rust

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
$ cargo xtask submodule # if you just cloned the repository

Type this command into your terminal and run it.

$ cargo build

Compiles the Rust project.

$ cargo install protobuf-codegen

Type this command into your terminal and run it.

$ cargo install grpcio-compiler

Type this command into your terminal and run it.

$ cargo xtask bindgen

Type this command into your terminal and run it.

βœ… If cargo build finishes without errors, it worked. The executable is created under target/.

Pulled directly from this repo's README.

// repository documentation