mesh_rpc/
lib.rs

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! gRPC-style client and server implementation.
5//!
6//! This provides [gRPC](https://grpc.io/) and
7//! [ttrpc](https://github.com/containerd/ttrpc) servers and clients that
8//! interop well with mesh channels, allowing gRPC to be easily used with a
9//! mesh-based application.
10//!
11//! Currently, the server supports the gRPC and ttrpc protocols, while the
12//! client only supports the ttrpc protocol.
13
14#[cfg(test)]
15extern crate self as mesh_rpc;
16
17pub mod client;
18mod message;
19mod rpc;
20pub mod server;
21pub mod service;
22
23pub use client::Client;
24pub use server::Server;