Skip to content

Commit

Permalink
fix visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
CAGS295 committed Sep 28, 2024
1 parent 41c0c22 commit 8d4ced3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/providers/binance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions src/providers/mod.rs
Original file line number Diff line number Diff line change
@@ -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<Monitorable> {
Expand Down

0 comments on commit 8d4ced3

Please sign in to comment.