We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Router::into_axum_with_handle
1 parent 6b81b65 commit 77ac826Copy full SHA for 77ac826
src/router.rs
@@ -346,10 +346,10 @@ where
346
///
347
/// This method allows users to specify a runtime handle for the router to
348
/// use. This runtime is accessible to all handlers invoked by the router.
349
- /// Handlers.
350
351
/// Tasks spawned by the router will be spawned on the provided runtime,
352
/// and automatically cancelled when the returned `axum::Router` is dropped.
+ #[cfg(feature = "axum")]
353
pub fn into_axum_with_handle(
354
self,
355
path: &str,
0 commit comments