diff --git a/Cargo.toml b/Cargo.toml index b627b77..b506a28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,3 +31,4 @@ reqwest = { version = "0.11", features = ["blocking"] } [features] cache = [] +htmx = [] diff --git a/src/lib.rs b/src/lib.rs index 10dda8e..9eb6a86 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,11 +5,9 @@ pub mod format; pub mod page; pub mod request; pub mod result; +#[cfg(feature = "htmx")] pub mod htmx; -// TODO : Cache Headers -// TODO : Refactor Responders -// TODO : Streaming Responses + Ranges // TODO : API Pagination? // TODO : CORS? // TODO : CSRF?