1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! # alphavantage
//!
//! A Rust client for the [Alpha Vantage](https://www.alphavantage.co) API.
//!
//! Currently supports the following operations:
//! - [TIME_SERIES_INTRADAY](https://www.alphavantage.co/documentation/#intraday)
//! - [TIME_SERIES_DAILY](https://www.alphavantage.co/documentation/#daily)
//! - [TIME_SERIES_WEEKLY](https://www.alphavantage.co/documentation/#weekly)
//! - [TIME_SERIES_MONTHLY](https://www.alphavantage.co/documentation/#monthly)
//! - [CURRENCY_EXCHANGE_RATE](https://www.alphavantage.co/documentation/#crypto-exchange)
//!
//! The default [`alphavantage::Client`](client) is asynchronous but a
//! blocking client is also available through the optional `blocking` feature.

mod api;
mod client;
mod deserialize;
mod error;

#[cfg(feature = "blocking")]
pub mod blocking;
pub mod exchange_rate;
pub mod time_series;
pub use crate::client::Client;
pub use crate::error::Error;