tonic/service/
mod.rs

1//! Utilities for using Tower services with Tonic.
2
3pub mod interceptor;
4#[cfg(feature = "router")]
5pub(crate) mod router;
6
7#[doc(inline)]
8pub use self::interceptor::{interceptor, Interceptor};
9#[doc(inline)]
10#[cfg(feature = "router")]
11pub use self::router::{Routes, RoutesBuilder};
12#[cfg(feature = "router")]
13pub use axum::{body::Body as AxumBody, Router as AxumRouter};