Skip to content

Commit

Permalink
feat(server): Remove into_service api (#1996)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Nov 7, 2024
1 parent b80428b commit 475cbcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tonic/src/transport/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,7 @@ impl<L> Router<L> {
}

/// Create a tower service out of a router.
#[deprecated(since = "0.12.4", note = "compose the layers and the `Routes`")]
pub fn into_service<ResBody>(self) -> L::Service
where
L: Layer<Routes>,
Expand Down

0 comments on commit 475cbcf

Please sign in to comment.