1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![doc=include_str!("../README.md")]

#[macro_use]
extern crate serde_derive;

/// Provides data access methods
#[cfg(feature = "api")]
pub mod api;
#[cfg(feature = "include-data")]
pub(crate) mod data;
/// Contains the type definitions for the data
pub mod models;
pub(crate) mod utils;

#[cfg(feature = "api")]
pub use api::Api;

pub use utils::error::DataError;
pub use utils::error::DataResult;