mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-11-24 04:12:50 +01:00
Update documentation
This commit is contained in:
parent
8f8ef59660
commit
07b22697a2
3 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
//! Axum extractors for htmx headers.
|
||||||
|
|
||||||
use axum::{extract::FromRequestParts, http::request::Parts};
|
use axum::{extract::FromRequestParts, http::request::Parts};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
//! HTTP headers used by htmx.
|
||||||
|
|
||||||
/// Indicates that the request is via an element using `hx-boost` attribute.
|
/// Indicates that the request is via an element using `hx-boost` attribute.
|
||||||
///
|
///
|
||||||
/// See <https://htmx.org/attributes/hx-boost/> for more information.
|
/// See <https://htmx.org/attributes/hx-boost/> for more information.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#![doc = include_str!("../README.md")]
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
pub mod extractors;
|
pub mod extractors;
|
||||||
pub mod headers;
|
pub mod headers;
|
||||||
|
|
Loading…
Reference in a new issue