tendermint-rpc 0.40.4

tendermint-rpc contains the core types returned by a Tendermint node's RPC endpoint. All networking related features are feature guarded to keep the dependencies small in cases where only the core types are needed.
Documentation
//! Tendermint RPC client implementations for different transports.

mod auth;
mod router;

macro_rules! perform_with_compat {
    ($self:expr, $request:expr) => {{
        let request = $request;
        match $self.compat {
            CompatMode::V0_38 => {
                $self
                    .perform_with_dialect(request, crate::dialect::v0_38::Dialect)
                    .await
            },
            CompatMode::V0_37 => {
                $self
                    .perform_with_dialect(request, crate::dialect::v0_37::Dialect)
                    .await
            },
            CompatMode::V0_34 => {
                $self
                    .perform_with_dialect(request, crate::dialect::v0_34::Dialect)
                    .await
            },
        }
    }};
}

#[cfg(feature = "http-client")]
pub mod http;
#[cfg(feature = "mock-client")]
pub mod mock;
#[cfg(feature = "websocket-client")]
pub mod websocket;