summaryrefslogtreecommitdiff
path: root/vendor/tower/src/layer.rs
blob: 3c40c6e8114bd790b82c51d34cacfac27467420f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! A collection of [`Layer`] based tower services
//!
//! [`Layer`]: crate::Layer

pub use tower_layer::{layer_fn, Layer, LayerFn};

/// Utilities for combining layers
///
/// [`Identity`]: crate::layer::util::Identity
/// [`Layer`]: crate::Layer
/// [`Stack`]: crate::layer::util::Stack
pub mod util {
    pub use tower_layer::{Identity, Stack};
}