#definition #proto #protobuf #api #api-client #grpc #xand

xand-api-proto

Protobuf definitions for the Xand API

4 releases (1 stable)

49.0.0 Feb 24, 2023
49.0.0-beta.395 Feb 23, 2023

#5 in #xand


Used in xand-api-client

MIT/Apache

120KB
3K SLoC

Table of Contents generated with DocToc

xand-api-proto

This crate contains the protobuf / gRPC definitions for the xand-api. It will autogenerate rust code from those definitions when built.

This crate also houses its own wire and business types inside its xand_api_proto::proto_models module, which is shared with the xand-api-client.

To see what's generated and exposed as part of the public API run cargo doc --open.

Generated Files

./build.rs uses tonic-build to generate Rust modules at compile-time from protobuf files.

In turn, ./src/lib.rs creates modules with the contents of those files. Consequently, the Rust types corresponding to the protobuf definitions are made available by this crate.

Dependencies

~19MB
~351K SLoC