Skip to content

Commit

Permalink
Merge pull request #60 from onalante-msft/pub-unix-stream
Browse files Browse the repository at this point in the history
Export `UnixStream` for clients
  • Loading branch information
softprops authored Jul 22, 2024
2 parents 6d3e2a6 + cee7961 commit dafdcdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};
use tower_service::Service;

pin_project! {
/// Wrapper around [`tokio::net::UnixStream`].
#[derive(Debug)]
pub struct UnixStream {
#[pin]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#[cfg(feature = "client")]
mod client;
#[cfg(feature = "client")]
pub use client::{UnixClientExt, UnixConnector};
pub use client::{UnixClientExt, UnixConnector, UnixStream};

#[cfg(feature = "server")]
mod server;
Expand Down

0 comments on commit dafdcdf

Please sign in to comment.