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 14, 2022
1 parent 9aa29e6 commit c195e2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/src/uds/server.rs
Expand Up @@ -5,8 +5,10 @@ use std::path::Path;
use tokio::net::UnixListener;
#[cfg(unix)]
use tokio_stream::wrappers::UnixListenerStream;
#[cfg(unix)]
use tonic::transport::server::UdsConnectInfo;
use tonic::{
transport::{server::UdsConnectInfo, Server},
transport::Server,
Request, Response, Status,
};

Expand Down

0 comments on commit c195e2a

Please sign in to comment.