niloecl/lib.rs
1#![warn(clippy::all, clippy::nursery, clippy::pedantic, clippy::cargo)]
2//! # niloecl
3
4//! niloECL (Nilo's Extractor Command Library) implements the Axum
5//! [extractor machinery](https://docs.rs/axum/latest/axum/extract/index.html) and handler system for
6//! [Twilight](https://twilight.rs)'s
7//! [`Interaction`](https://docs.rs/twilight-model/0.16.0-rc.1/twilight_model/application/interaction/struct.Interaction.html)
8//! and [`InteractionResponse.`](https://docs.rs/twilight-model/0.16.0-rc.1/twilight_model/http/interaction/struct.InteractionResponse.html).
9
10mod extract;
11mod handler;
12mod into_response;
13mod into_response_impls;
14
15#[cfg(feature = "modal_submit")]
16mod modal_submit_extractor;
17
18#[cfg(feature = "modal_submit")]
19pub use modal_submit_extractor::{ModalSubmit, ModalSubmitError};
20
21pub use extract::State;
22pub use handler::{make as make_handler, FromRequest, Handler, HandlerFunction};
23pub use into_response::IntoResponse;