Update README.md

This commit is contained in:
Rob Wagner 2023-07-27 23:44:28 -04:00
parent 9427a65244
commit 35f86927e7
No known key found for this signature in database
GPG key ID: 53CCB4497B15CF61

View file

@ -39,7 +39,7 @@ 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. present, the extractor will return `None` or `false` in most cases.
| Header | Extractor | Value | | Header | Extractor | Value |
| --- | --- | --- | |------------------------------|---------------------------|------------------|
| `HX-Boosted` | `HxBoosted` | `bool` | | `HX-Boosted` | `HxBoosted` | `bool` |
| `HX-Current-URL` | `HxCurrentUrl` | `Option<String>` | | `HX-Current-URL` | `HxCurrentUrl` | `Option<String>` |
| `HX-History-Restore-Request` | `HxHistoryRestoreRequest` | `bool` | | `HX-History-Restore-Request` | `HxHistoryRestoreRequest` | `bool` |
@ -109,8 +109,8 @@ fn protected_router() -> Router {
<!-- markdownlint-disable --> <!-- markdownlint-disable -->
| Flag | Default | Description | Dependencies | | Flag | Default | Description | Dependencies |
|-|-|-|-| |----------|----------|----------------------------|---------------------------------------------|
| `guards`| Disabled | Adds request guard layers. | `tower`, `futures-core`, `pin-project-lite` | | `guards` | Disabled | Adds request guard layers. | `tower`, `futures-core`, `pin-project-lite` |
<!-- markdownlint-enable --> <!-- markdownlint-enable -->
## Contributing ## Contributing