1#![deny(missing_docs, rust_2018_idioms, nonstandard_style, future_incompatible)]
2#![doc = include_str!("README.md")]
3
4use tower::util::BoxCloneService;
5
6mod action;
7mod axum;
8mod context;
9mod errors;
10mod extract;
11mod frame;
12mod future;
13mod layer;
14mod pattern;
15mod routing;
16mod system;
17
18pub use action::*;
19pub use axum::*;
20pub use context::*;
21pub use errors::Error;
22pub use extract::*;
23pub use frame::*;
24pub use future::*;
25pub use pattern::*;
26pub use routing::*;
27pub use system::{StatefulSystem, StatelessSystem, System};
28
29pub type ActionService = BoxCloneService<Frame, Frame, Error>;
31
32pub type Actions<State> = Vec<BoxedAction<State>>;
34
35pub type BoxedAction<State> = Box<dyn Actionable<State>>;
37
38pub type Result<T> = std::result::Result<T, Error>;