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
26
27
28
29
30
31
// Copyright (C) 2019-2020 Daniel Mueller <deso@posteo.net>
// SPDX-License-Identifier: GPL-3.0-or-later

#[macro_use]
extern crate http_endpoint;

#[macro_use]
mod endpoint;

/// A module comprising the functionality backing interactions with the
/// API.
pub mod api;

mod api_info;
mod client;
mod error;
mod events;

use std::borrow::Cow;

pub use client::Client;
pub use error::Error;
pub use events::Aggregate;
pub use events::Event;
pub use events::Events;
pub use events::Quote;
pub use events::Stock;
pub use events::Subscription;
pub use events::Trade;

type Str = Cow<'static, str>;