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#![forbid(unsafe_code)]
15
16#[cfg(test)]
17extern crate self as mesh_rpc;
18
19pub mod client;
20mod message;
21mod rpc;
22pub mod server;
23pub mod service;
24
25pub use client::Client;
26pub use server::Server;