diff --git a/tonic/src/transport/mod.rs b/tonic/src/transport/mod.rs index c676bfb92..daa8fef92 100644 --- a/tonic/src/transport/mod.rs +++ b/tonic/src/transport/mod.rs @@ -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}; diff --git a/tonic/src/transport/server/mod.rs b/tonic/src/transport/server/mod.rs index e10f11f68..50a4988c1 100644 --- a/tonic/src/transport/server/mod.rs +++ b/tonic/src/transport/server/mod.rs @@ -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;