gRPC 1.83.0 from source, preserving grpc:: and sharing indexed dependencies.
English · 简体中文 · Upstream · Releases · mcpp · Index
import mcpplibs.mwrap.grpc;: grpc:: client/server and status APIsimport mcpplibs.mwrap.grpc.macros;: Version macro mappings
More Modules API -> Usage and API
mcpp new greeter --template [email protected]
cd greeter
mcpp run[dependencies]
mcpplibs.mwrap.grpc = { version = "1.83.0", features = ["codegen"] }#include "helloworld.grpc.pb.h"
import mcpplibs.mwrap.grpc;Include standard/generated headers before imports. Plain <grpcpp/grpcpp.h> also works.
.macros maps version constants; preprocessing macros remain textual.
codegen supplies protoc, grpc_cpp_plugin and the host rule; the default template generates its stubs.
Rule API and generated-header ordering
Use grpcgen::generate_all, plan_all and submit for import paths, plugins and explicit build edges.
Runtime: Linux/macOS. Windows runtime is unavailable through the current OpenSSL provider; host tools are tested separately.
| Feature | Purpose |
|---|---|
codegen |
protoc, C++ plugin and host rule |
ares |
c-ares DNS resolver |
Pinned gRPC sources plus indexed dependencies; private configuration stays in build.mcpp. Details
mcpp build
mcpp testApache-2.0; preserve third-party dependency notices.
Wrapper: Apache-2.0, mcpp-community. Original upstream README and licenses. Upstream licenses remain unchanged.