From 7a8a411d29c8e0a636456048aab143e5d9617591 Mon Sep 17 00:00:00 2001 From: Dan Alekseev Date: Sat, 6 Apr 2024 11:42:05 +0400 Subject: [PATCH] Fixed README feature name, added info for Feature Flags section --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 61fd0b1..8852866 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ need to secure an endpoint you should be using a proper auth system._ ## 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. @@ -219,6 +219,7 @@ fn with_layout(Html(partial): Html) -> Html { |----------|----------|------------------------------------------------------------|---------------------------------------------| | `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` | +| `derive` | Disabled | Adds the `hx_boosted_by` and `hx_boosted_by_async` macros. | `proc-macro-error`, `proc-macro2`, `quote`, `syn` | ## Contributing