mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-21 00:00:14 +02:00
fix features
This commit is contained in:
@@ -7,14 +7,15 @@ mod resource;
|
||||
#[cfg(feature = "typed-routing")]
|
||||
mod typed;
|
||||
|
||||
pub use self::resource::Resource;
|
||||
|
||||
#[cfg(feature = "typed-routing")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "typed-routing")))]
|
||||
pub use axum_macros::TypedPath;
|
||||
|
||||
pub use self::{
|
||||
resource::Resource,
|
||||
typed::{FirstElementIs, TypedPath},
|
||||
};
|
||||
#[cfg(feature = "typed-routing")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "typed-routing")))]
|
||||
pub use self::typed::{FirstElementIs, TypedPath};
|
||||
|
||||
/// Extension trait that adds additional methods to [`Router`].
|
||||
pub trait RouterExt<B>: sealed::Sealed {
|
||||
|
||||
Reference in New Issue
Block a user