mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-03 00:00:07 +02:00
Remove SpaRouter (#1784)
This commit is contained in:
@@ -12,9 +12,6 @@ use tower_service::Service;
|
||||
|
||||
mod resource;
|
||||
|
||||
#[cfg(feature = "spa")]
|
||||
mod spa;
|
||||
|
||||
#[cfg(feature = "typed-routing")]
|
||||
mod typed;
|
||||
|
||||
@@ -28,9 +25,6 @@ pub use axum_macros::TypedPath;
|
||||
#[cfg(feature = "typed-routing")]
|
||||
pub use self::typed::{SecondElementIs, TypedPath};
|
||||
|
||||
#[cfg(feature = "spa")]
|
||||
pub use self::spa::SpaRouter;
|
||||
|
||||
/// Extension trait that adds additional methods to [`Router`].
|
||||
pub trait RouterExt<S, B>: sealed::Sealed {
|
||||
/// Add a typed `GET` route to the router.
|
||||
|
||||
Reference in New Issue
Block a user