diff --git a/src/providers/binance.rs b/src/providers/binance.rs index 62950da..b4be169 100644 --- a/src/providers/binance.rs +++ b/src/providers/binance.rs @@ -2,7 +2,7 @@ use super::{ApiURL, Endpoints}; use crate::monitor::Depth; #[derive(Clone)] -pub(crate) struct Binance; +pub struct Binance; impl ApiURL for Binance { const STREAM: &'static str = "wss://data-stream.binance.com"; diff --git a/src/providers/mod.rs b/src/providers/mod.rs index 9aabf4f..baa6a3b 100644 --- a/src/providers/mod.rs +++ b/src/providers/mod.rs @@ -1,8 +1,8 @@ use serde::Deserialize; -pub mod binance; +mod binance; -pub(crate) use binance::Binance; +pub use binance::Binance; /// A [Provider] must implement this trait for [net] to know where to pull the data from. pub trait Endpoints {