Skip to content

Commit

Permalink
ensure that re-exported symbols show feature label in root (#754)
Browse files Browse the repository at this point in the history
Co-authored-by: Toby Lawrence <tobz@users.noreply.github.com>
  • Loading branch information
GlenDC and tobz authored Jul 20, 2024
1 parent 05a0a25 commit 032d17f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tower/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,20 @@ pub mod layer;

#[cfg(feature = "util")]
#[doc(inline)]
#[cfg_attr(docsrs, doc(cfg(feature = "util")))]
pub use self::util::{service_fn, ServiceExt};

#[doc(inline)]
pub use crate::builder::ServiceBuilder;

#[cfg(feature = "make")]
#[doc(inline)]
#[cfg_attr(docsrs, doc(cfg(feature = "make")))]
pub use crate::make::MakeService;

#[doc(inline)]
pub use tower_layer::Layer;

#[doc(inline)]
pub use tower_service::Service;

Expand Down

0 comments on commit 032d17f

Please sign in to comment.