Skip to content
mcpplibsPublic

About

gRPC 1.83.0 for mcpp — upstream source vendored and built by mcpp, import grpc; ready

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

grpc-m

gRPC 1.83.0 from source, preserving grpc:: and sharing indexed dependencies.

English · 简体中文 · Upstream · Releases · mcpp · Index

C++23 License mcpp-community CI

Modules

  • import mcpplibs.mwrap.grpc;: grpc:: client/server and status APIs
  • import mcpplibs.mwrap.grpc.macros;: Version macro mappings

More Modules API -> Usage and API

Quick Start

mcpp new greeter --template mcpplibs.mwrap.grpc@1.83.0
cd greeter
mcpp run
[dependencies]
mcpplibs.mwrap.grpc = { version = "1.83.0", features = ["codegen"] }

Two ways to use it

#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.

Code generation

codegen supplies protoc, grpc_cpp_plugin and the host rule; the default template generates its stubs. Rule API and generated-header ordering

When you need more control

Use grpcgen::generate_all, plan_all and submit for import paths, plugins and explicit build edges.

Platform support

Runtime: Linux/macOS. Windows runtime is unavailable through the current OpenSSL provider; host tools are tested separately.

Features

Feature Purpose
codegen protoc, C++ plugin and host rule
ares c-ares DNS resolver

How it is built

Pinned gRPC sources plus indexed dependencies; private configuration stays in build.mcpp. Details

Build and test locally

mcpp build
mcpp test

License

Apache-2.0; preserve third-party dependency notices.

Wrapper: Apache-2.0, mcpp-community. Original upstream README and licenses. Upstream licenses remain unchanged.

About

gRPC 1.83.0 for mcpp — upstream source vendored and built by mcpp, import grpc; ready

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages