Skip to main content

coven_proto/
lib.rs

1// ABOUTME: Re-exports generated protobuf types for the coven protocol.
2// ABOUTME: Single source of truth for coven gRPC services and message types.
3
4#![allow(clippy::derive_partial_eq_without_eq)]
5
6/// Generated protobuf types for the coven protocol.
7pub mod coven {
8    tonic::include_proto!("coven");
9}
10
11// Re-export commonly used types at crate root for convenience
12pub use coven::*;
13
14// Re-export client types under a client module
15pub mod client {
16    pub use super::coven::admin_service_client::AdminServiceClient;
17    pub use super::coven::client_service_client::ClientServiceClient;
18    pub use super::coven::coven_control_client::CovenControlClient;
19}
20
21// Re-export server types under a server module
22pub mod server {
23    pub use super::coven::admin_service_server::{AdminService, AdminServiceServer};
24    pub use super::coven::client_service_server::{ClientService, ClientServiceServer};
25    pub use super::coven::coven_control_server::{CovenControl, CovenControlServer};
26    pub use super::coven::pack_service_server::{PackService, PackServiceServer};
27}