symbiotic_relay_client/lib.rs
1//! Rust gRPC client library for Symbiotic Relay
2//!
3//! This library provides a client interface to communicate with Symbiotic Relay servers
4//! using gRPC. It includes auto-generated client code from protocol buffer definitions.
5//!
6//! # Usage
7//!
8//! ```rust,no_run
9//! use symbiotic_relay_client::generated::api::proto::v1::symbiotic_api_service_client::SymbioticApiServiceClient;
10//! use tonic::transport::Endpoint;
11//!
12//! #[tokio::main]
13//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
14//! let endpoint = Endpoint::from_shared("http://localhost:8080")?;
15//! let channel = endpoint.connect().await?;
16//! let client = SymbioticApiServiceClient::new(channel);
17//! // Use the client...
18//! Ok(())
19//! }
20//! ```
21
22pub mod generated;
23
24// Re-export commonly used types for convenience
25pub use generated::api::proto::v1::*;