#![warn(missing_docs)]
#![doc = include_str!("../README.md")]
#[cfg(feature = "client")]
pub mod channel;
#[cfg(feature = "client")]
pub mod config;
pub mod errors;
#[cfg(all(feature = "client", feature = "discovery"))]
pub mod discovery;
#[cfg(feature = "client")]
pub use channel::GrpcChannel;
#[cfg(feature = "client")]
pub use config::GrpcClientConfig;
pub use errors::{
app_error_to_status, error_code_to_grpc_code, grpc_code_to_error_code, status_to_app_error,
};
#[cfg(feature = "client")]
pub use rskit_security::TlsConfig as GrpcClientTlsConfig;
#[cfg(all(feature = "client", feature = "discovery"))]
pub use discovery::{DiscoveryChannel, DiscoveryChannelConfig};