Skip to content

Commit

Permalink
chore(lib): Remove re-exported NamedService
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Dec 11, 2023
1 parent 07e4ee1 commit e788f15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tonic/src/transport/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ pub use self::server::Server;
pub use self::service::grpc_timeout::TimeoutExpired;
#[allow(deprecated)]
pub use self::tls::Certificate;
#[doc(inline)]
/// A deprecated re-export. Please use `tonic::server::NamedService` directly.
pub use crate::server::NamedService;
pub use axum::{body::BoxBody as AxumBoxBody, Router as AxumRouter};
pub use hyper::{Body, Uri};

Expand Down
3 changes: 0 additions & 3 deletions tonic/src/transport/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ mod unix;
pub use super::service::Routes;
pub use super::service::RoutesBuilder;

#[doc(inline)]
/// A deprecated re-export. Please use `tonic::server::NamedService` directly.
pub use crate::server::NamedService;
pub use conn::{Connected, TcpConnectInfo};
#[cfg(feature = "tls")]
pub use tls::ServerTlsConfig;
Expand Down

0 comments on commit e788f15

Please sign in to comment.