From 35f86927e7d9bea8e480c1fa00dca5fb9c88ac93 Mon Sep 17 00:00:00 2001 From: Rob Wagner Date: Thu, 27 Jul 2023 23:44:28 -0400 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index ab9f846..a4c8246 100644 --- a/README.md +++ b/README.md @@ -38,16 +38,16 @@ have a supported extractor. Additionally, all extractors are infallible, meaning they will always succeed and never return an error. If the header is not present, the extractor will return `None` or `false` in most cases. -| Header | Extractor | Value | -| --- | --- | --- | -| `HX-Boosted` | `HxBoosted` | `bool` | -| `HX-Current-URL` | `HxCurrentUrl` | `Option` | -| `HX-History-Restore-Request` | `HxHistoryRestoreRequest` | `bool` | -| `HX-Prompt` | `HxPrompt` | `Option` | -| `HX-Request` | `HxRequest` | `bool` | -| `HX-Target` | `HxTarget` | `Option` | -| `HX-Trigger-Name` | `HxTriggerName` | `Option` | -| `HX-Trigger` | `HxTrigger` | `Option` | +| Header | Extractor | Value | +|------------------------------|---------------------------|------------------| +| `HX-Boosted` | `HxBoosted` | `bool` | +| `HX-Current-URL` | `HxCurrentUrl` | `Option` | +| `HX-History-Restore-Request` | `HxHistoryRestoreRequest` | `bool` | +| `HX-Prompt` | `HxPrompt` | `Option` | +| `HX-Request` | `HxRequest` | `bool` | +| `HX-Target` | `HxTarget` | `Option` | +| `HX-Trigger-Name` | `HxTriggerName` | `Option` | +| `HX-Trigger` | `HxTrigger` | `Option` | ## Request Guards @@ -108,9 +108,9 @@ fn protected_router() -> Router { ### Feature Flags -| Flag | Default | Description | Dependencies | -|-|-|-|-| -| `guards`| Disabled | Adds request guard layers. | `tower`, `futures-core`, `pin-project-lite` | +| Flag | Default | Description | Dependencies | +|----------|----------|----------------------------|---------------------------------------------| +| `guards` | Disabled | Adds request guard layers. | `tower`, `futures-core`, `pin-project-lite` | ## Contributing