Skip to content

Commit

Permalink
expose block_on_no_clients publicly in SocketOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Dec 13, 2024
1 parent 2a9874d commit 1c3c2dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ pub enum SocketEvent {

#[derive(Debug, Clone)]
pub struct SocketOptions {
pub(crate) peer_id: Option<PeerIdentity>,
pub(crate) block_on_no_clients: bool,
pub peer_id: Option<PeerIdentity>,
pub block_on_no_clients: bool,
}

impl Default for SocketOptions {
Expand Down

0 comments on commit 1c3c2dc

Please sign in to comment.