moex-client 0.1.0

Strictly-typed, unofficial Rust client for Moscow Exchange ISS API.
Documentation
//! Типизированный Rust-клиент для работы с ISS API Московской биржи.

/// Асинхронный transport API.
#[cfg(feature = "async")]
pub mod r#async;
/// Блокирующий transport API.
#[cfg(feature = "blocking")]
pub mod blocking;
/// Транспорт-независимый decode API для ISS JSON payload-ов.
///
/// Реэкспортируется из внутреннего модуля `moex::decode` и доступен как
/// `moex_client::decode`.
pub use crate::moex::decode;
/// Доменные типы и парсинг ответов ISS в строгие модели.
pub mod models;
mod moex;
/// Удобный импорт extension-traits для fluent-операций над коллекциями.
pub mod prelude;

pub use moex::{IssEndpoint, MoexError};
#[cfg(any(feature = "async", feature = "blocking"))]
pub use moex::{
    IssRequestOptions, IssToggle, RateLimit, RateLimiter, RawIssResponse, RetryPolicy,
    with_rate_limit, with_retry,
};
#[cfg(feature = "async")]
pub use moex::{with_rate_limit_async, with_retry_async};