grpc-rs
The gRPC library for Rust built on C Core library and futures
파일 탐색기
최종 버전 다운로드 (.zip)- config.toml
- bug_report.md
- feature_request.md
- something-else.md
- bug_fix.md
- feature.md
- something-else.md
- 31167.supp
- ci.yml
- bench.rs
- client.rs
- lib.rs
- main.rs
- server.rs
- util.rs
- worker.rs
- Cargo.toml
- README.md
- grpc_rust_plugin.rs
- grpc_rust_prost.rs
- codegen.rs
- lib.rs
- prost_codegen.rs
- util.rs
- Cargo.toml
- bindings.rs
- grpc_wrap.rs
- lib.rs
- build.rs
- Cargo.toml
- grpc
- grpc_wrap.cc
- link-deps.rs
- grpc.health.v1.rs
- health.rs
- health_grpc.rs
- health.rs
- health_grpc.rs
- mod.rs
- lib.rs
- proto.rs
- service.rs
- health_check.rs
- Cargo.toml
- README.md
- client.rs
- server.rs
- client.rs
- lib.rs
- server.rs
- tests.rs
- Cargo.toml
- ca.pem
- server1.key
- server1.pem
- any.proto
- status.proto
- helloworld.proto
- route_guide.proto
- health.proto
- control.proto
- empty.proto
- messages.proto
- payloads.proto
- services.proto
- stats.proto
- test.proto
- helloworld.rs
- routeguide.rs
- google.rpc.rs
- grpc.testing.rs
- helloworld.rs
- helloworld_grpc.rs
- route_guide.rs
- route_guide_grpc.rs
- status.rs
- control.rs
- empty.rs
- messages.rs
- payloads.rs
- services.rs
- services_grpc.rs
- stats.rs
- test.rs
- test_grpc.rs
- helloworld.rs
- helloworld_grpc.rs
- mod.rs
- route_guide.rs
- route_guide_grpc.rs
- mod.rs
- status.rs
- control.rs
- empty.rs
- messages.rs
- mod.rs
- payloads.rs
- services.rs
- services_grpc.rs
- stats.rs
- test.rs
- test_grpc.rs
- lib.rs
- proto.rs
- util.rs
- Cargo.toml
- client.rs
- mod.rs
- server.rs
- auth_context.rs
- credentials.rs
- mod.rs
- callback.rs
- executor.rs
- mod.rs
- promise.rs
- buf.rs
- channel.rs
- channelz.rs
- client.rs
- codec.rs
- cq.rs
- env.rs
- error.rs
- lib.rs
- log_util.rs
- metadata.rs
- quota.rs
- server.rs
- client.rs
- server.rs
- client.rs
- server.rs
- client.rs
- db.json
- server.rs
- util.rs
- log_util.rs
- lib.rs
- util.rs
- auth_context.rs
- cancel.rs
- credential.rs
- kick.rs
- metadata.rs
- misc.rs
- mod.rs
- stream.rs
- tests.rs
- Cargo.toml
- main.rs
- Cargo.toml
- .clang-format
- .clang-tidy
- .gitignore
- .gitmodules
- Cargo.toml
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- cross_compile.md
- LICENSE
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/tikv/grpc-rs
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd grpc-rs
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Rust
보통 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
$ cargo xtask submodule # if you just cloned the repository
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ cargo build
Rust 프로젝트를 컴파일합니다.
$ cargo install protobuf-codegen
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ cargo install grpcio-compiler
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ cargo xtask bindgen
이 명령어를 터미널에 그대로 입력해 실행하세요.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
