1#![warn(missing_docs)]
2#![doc = include_str!("../README.md")]
3
4#[cfg(feature = "client")]
14pub mod channel;
16#[cfg(feature = "client")]
17pub mod config;
19pub mod errors;
21
22#[cfg(all(feature = "client", feature = "discovery"))]
23pub mod discovery;
25
26#[cfg(feature = "client")]
27pub use channel::GrpcChannel;
28#[cfg(feature = "client")]
29pub use config::GrpcClientConfig;
30pub use errors::{
31 app_error_to_status, error_code_to_grpc_code, grpc_code_to_error_code, status_to_app_error,
32};
33#[cfg(feature = "client")]
34pub use rskit_security::TlsConfig as GrpcClientTlsConfig;
35
36#[cfg(all(feature = "client", feature = "discovery"))]
37pub use discovery::{DiscoveryChannel, DiscoveryChannelConfig};