spark_protos/
lib.rs

1//! # Spark Types Protobuf Definitions
2//!
3//! These are used to connect and make requests to Spark Operators.
4//!
5//! This module contains the generated code for the Spark Types.
6//! It is generated by the build.rs script.
7
8/// This module contains the generated code for the Spark Types.
9#[allow(missing_docs)]
10#[allow(clippy::all)]
11#[allow(missing_docs)]
12// Re-export prost to ensure it's available for the generated code
13pub use prost;
14
15/// The core for Spark proto types and service definitions. This module contains `spark.proto` and `spark_tree.proto` files.
16pub mod spark {
17    include!(concat!(env!("OUT_DIR"), "/spark.rs"));
18}
19
20/// Common types shared between different modules. This module contains the `common.proto` file.
21pub mod common {
22    include!(concat!(env!("OUT_DIR"), "/common.rs"));
23}
24
25/// FROST types and service definitions used by Spark Operators to sign and verify signatures. This module contains the `frost.proto` file.
26pub mod frost {
27    include!(concat!(env!("OUT_DIR"), "/frost.rs"));
28}
29
30/// Authentication types and service definitions used by Spark Operators to authenticate with each other. This module contains the `spark_authn.proto` file.
31pub mod spark_authn {
32    include!(concat!(env!("OUT_DIR"), "/spark_authn.rs"));
33}