From 2894f02e5cbb63830afdc61351ee6dbb8ca0f5dc Mon Sep 17 00:00:00 2001 From: Allan Date: Tue, 29 Nov 2022 16:58:12 -0500 Subject: [PATCH 1/2] Add protobuf feature flag --- axum-extra/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/axum-extra/src/lib.rs b/axum-extra/src/lib.rs index f7c23682b8..2081eb9932 100644 --- a/axum-extra/src/lib.rs +++ b/axum-extra/src/lib.rs @@ -17,6 +17,7 @@ //! `erased-json` | Enables the `ErasedJson` response | No //! `form` | Enables the `Form` extractor | No //! `json-lines` | Enables the `json-lines` extractor and response | No +//! `protobuf` | Enables the `ProtoBuf` extractor and response | No //! `query` | Enables the `Query` extractor | No //! `spa` | Enables the `Spa` router | No //! `typed-routing` | Enables the `TypedPath` routing utilities | No From c5589b0e74edb71ac2ec6143efc2520c1847f9ae Mon Sep 17 00:00:00 2001 From: Allan Date: Tue, 29 Nov 2022 17:00:12 -0500 Subject: [PATCH 2/2] Fix reference to json-lines extractor in docs --- axum-extra/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum-extra/src/lib.rs b/axum-extra/src/lib.rs index 2081eb9932..2bbb07209e 100644 --- a/axum-extra/src/lib.rs +++ b/axum-extra/src/lib.rs @@ -16,7 +16,7 @@ //! `cookie-key-expansion` | Enables the `Key::derive_from` method | No //! `erased-json` | Enables the `ErasedJson` response | No //! `form` | Enables the `Form` extractor | No -//! `json-lines` | Enables the `json-lines` extractor and response | No +//! `json-lines` | Enables the `JsonLines` extractor and response | No //! `protobuf` | Enables the `ProtoBuf` extractor and response | No //! `query` | Enables the `Query` extractor | No //! `spa` | Enables the `Spa` router | No