From be54583d98499b81bd59cf24117a299aa3a86d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barv=C3=AD=C5=99?= Date: Wed, 28 Sep 2022 22:06:56 +0200 Subject: [PATCH] Reexport key-expansion (#1425) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Reexport key-expansion * Description Co-authored-by: Marek Barvíř --- axum-extra/Cargo.toml | 1 + axum-extra/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 48b607d3..debad59f 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -18,6 +18,7 @@ async-read-body = ["dep:tokio-util", "tokio-util?/io"] cookie = ["dep:cookie"] cookie-private = ["cookie", "cookie?/private"] cookie-signed = ["cookie", "cookie?/signed"] +cookie-key-expansion = ["cookie", "cookie?/key-expansion"] erased-json = ["dep:serde_json", "dep:serde"] form = ["dep:serde", "dep:serde_html_form"] json-lines = [ diff --git a/axum-extra/src/lib.rs b/axum-extra/src/lib.rs index 3138cac5..f7c23682 100644 --- a/axum-extra/src/lib.rs +++ b/axum-extra/src/lib.rs @@ -13,6 +13,7 @@ //! `cookie` | Enables the `CookieJar` extractor | No //! `cookie-private` | Enables the `PrivateCookieJar` extractor | No //! `cookie-signed` | Enables the `SignedCookieJar` extractor | No +//! `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