Skip to content

Commit

Permalink
fixup! examples: update uds example to use tokio UnixListenerStream
Browse files Browse the repository at this point in the history
  • Loading branch information
agreen17 committed Jan 21, 2022
1 parent 9aa29e6 commit 1956549
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/src/uds/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ use std::path::Path;
use tokio::net::UnixListener;
#[cfg(unix)]
use tokio_stream::wrappers::UnixListenerStream;
use tonic::{
transport::{server::UdsConnectInfo, Server},
Request, Response, Status,
};
#[cfg(unix)]
use tonic::transport::server::UdsConnectInfo;
use tonic::{transport::Server, Request, Response, Status};

pub mod hello_world {
tonic::include_proto!("helloworld");
Expand Down

0 comments on commit 1956549

Please sign in to comment.