mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-12-27 18:59:32 +01:00
Fixed README feature name, added info for Feature Flags section
This commit is contained in:
parent
6be4fcfb23
commit
7a8a411d29
1 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,7 @@ need to secure an endpoint you should be using a proper auth system._
|
||||||
|
|
||||||
## Macroses
|
## Macroses
|
||||||
|
|
||||||
__Requires features `macros`.__
|
__Requires features `derive`.__
|
||||||
|
|
||||||
In addition to the HxBoosted extractor, the library provides macroses `hx_boosted_by` and it's async version `hx_boosted_by_async` for managing the response based on the presence of the `HX-Boosted` header.
|
In addition to the HxBoosted extractor, the library provides macroses `hx_boosted_by` and it's async version `hx_boosted_by_async` for managing the response based on the presence of the `HX-Boosted` header.
|
||||||
|
|
||||||
|
@ -219,6 +219,7 @@ fn with_layout(Html(partial): Html<String>) -> Html<String> {
|
||||||
|----------|----------|------------------------------------------------------------|---------------------------------------------|
|
|----------|----------|------------------------------------------------------------|---------------------------------------------|
|
||||||
| `guards` | Disabled | Adds request guard layers. | `tower`, `futures-core`, `pin-project-lite` |
|
| `guards` | Disabled | Adds request guard layers. | `tower`, `futures-core`, `pin-project-lite` |
|
||||||
| `serde` | Disabled | Adds serde support for the `HxEvent` and `LocationOptions` | `serde`, `serde_json` |
|
| `serde` | Disabled | Adds serde support for the `HxEvent` and `LocationOptions` | `serde`, `serde_json` |
|
||||||
|
| `derive` | Disabled | Adds the `hx_boosted_by` and `hx_boosted_by_async` macros. | `proc-macro-error`, `proc-macro2`, `quote`, `syn` |
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-enable -->
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
Loading…
Reference in a new issue