xand-api-proto

Crates.ioxand-api-proto
lib.rsxand-api-proto
version49.0.0
sourcesrc
created_at2023-02-23 23:43:29.59664
updated_at2023-02-24 16:10:04.513619
descriptionProtobuf definitions for the Xand API
homepage
repository
max_upload_size
id793142
size190,338
(Xandkeeper)

documentation

README

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.

Commit count: 0

cargo fmt