--- url: "https://grpc.io/docs/languages/rust/api" titulek: "grpc - Rust" h1: "Crate grpc" popis: "The official Rust implementation of gRPC, a high performance, open source, universal RPC framework." jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 21:01:40" znaku: 2042 slov: 236 kodovani: "utf-8" sha256: "19318664435bc918e19247dda9f95554a4291e910d1effd75e878e2dee5dcbe4" --- # Crate grpc [Source](../src/grpc/lib.rs.html#25-88) Expand descriptionThe official Rust implementation of [gRPC](https://grpc.io), a high performance, open source, universal RPC framework. NOTE: This version is a preview and not recommended for any production use. All APIs are unstable. Proceed at your own risk. §Documentation, Examples, and Getting Started Please see [our website](https://grpc.io/docs/languages/rust) for everything you should need to get started using gRPC. §Feature Flags The only currently-supported feature flags are the defaults. §Modules [`client`](client/index.html) - Creating and working with gRPC client-side channels [`credentials`](credentials/index.html) - Securing connections and providing access tokens [`metadata`](metadata/index.html) - Data sent with all RPCs typically used by interceptors [`core`](core/index.html) - Common types shared between clients and servers [`attributes`](attributes/index.html) - Generic key/value storage used by gRPC plugins [attributes](attributes/index.html) A generic key/value store. [client](client/index.html) Client-side gRPC implementation and utilities. [core](core/index.html) Core gRPC types common to clients and servers. [credentials](credentials/index.html) Authentication and security credentials (e.g. TLS and OAuth2). [metadata](metadata/index.html) gRPC metadata handling. [include_generated_proto](macro.include_generated_proto.html) Includes generated proto message, client, and server code. This macro is for if you manually set output_dir instead of using the default OUT_DIR. [include_proto](macro.include_proto.html) Includes generated proto message, client, and server code. [StatusError](struct.StatusError.html) Represents a gRPC status. [StatusCodeError](enum.StatusCodeError.html) Represents a gRPC status code. [Status](type.Status.html) The representation of a gRPC status. OK statuses may not contain a status message, while error values may. [StatusOr](type.StatusOr.html) Represents either a failing gRPC status or a successful result containing `T`.