grpc
Pure Nim gRPC client and server
Summary
| Latest Version | 0.1.20 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-09-01 07:17 |
Tags
Authors
- Esteban Castro Borsani (@nitely)
Installation
nimble install grpc
choosenim install grpc
git clone https://github.com/nitely/nim-grpc
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| grpc | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 2.0.14 | No |
| hyperx >= | 0.1.50 | No |
| protobuf_serialization >= | 0.5.2 | No |
| zippy >= | 0.10.14 | No |
Source
| Repository | https://github.com/nitely/nim-grpc |
|---|---|
| Homepage | https://github.com/nitely/nim-grpc |
| Registry Source | nimble_official |
README
gRpc
Pure Nim gRPC implementation. It works on top of hyperx. Tested with go-grpc server/client interop tests.
Install
nimble install grpc
Compatibility
Nim +2.0
Requirements
- OpenSSL
Usage
Read the examples and the interop tests.
Protobuf
This lib uses the protobuf_serialization package to serialize the protobuf messages.
The protobuf types generated by importProto3 can be inspected by defining -d:LogGeneratedTypes which will generate a file next to the compiled nim file with the types.
Debugging
The -d:grpcDebug define will print debugging
messages and error traces
LICENSE
MIT