| Crates.io | ferroid-tonic-core |
| lib.rs | ferroid-tonic-core |
| version | 0.6.5 |
| created_at | 2025-06-13 22:24:59.512892+00 |
| updated_at | 2025-08-08 09:22:25.968762+00 |
| description | Shared types for the core gRPC protocol and shared types |
| homepage | |
| repository | https://github.com/s0l0ist/ferroid/blob/main/crates/ferroid-tonic-core |
| max_upload_size | |
| id | 1711928 |
| size | 37,600 |
This crate provides the shared interface and protocol definitions for the
ferroid streaming ID generation ecosystem. It is consumed by both the gRPC
server and external clients that interact with it programmatically.
Error] and [Result] types used across the systemferroid.proto)The [proto] module contains types generated via [tonic::include_proto!]. It
also exposes a precompiled FILE_DESCRIPTOR_SET for gRPC reflection support.
Example client usage:
use ferroid_tonic_core::proto::id_generator_client::IdGeneratorClient;
gRPC clients should deserialize IdChunk.packed_ids using the agreed-upon
fixed-width layout (e.g. u64 or u128, in little-endian order).