Core gRPC types, codecs, and utilities for Elixir.

This package provides the foundational components used by both grpc_server and grpc:

  • Codecs: Protocol Buffers, JSON, WebText, Erlpack
  • Compressors: Gzip compression support
  • Transport: HTTP/2 utilities
  • Core Types: Status codes, errors, credentials, telemetry
  • Protoc Plugin: Code generation tooling

Installation

Add grpc_core to your list of dependencies in mix.exs:

def deps do
  [
    {:grpc_core, "~> 0.12"}
  ]
end

Usage

Most users shouldn't depend on grpc_core directly. Instead, use:

  • {:grpc, "~> 0.12"} for client-only applications
  • {:grpc_server, "~> 0.12"} for server-only applications

Documentation

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/grpc_core.