From 3747650ae98580d74d403a1af237b03624dd716f Mon Sep 17 00:00:00 2001 From: Fxxxlei <39105819+Fxxxlei@users.noreply.github.com> Date: Thu, 7 Apr 2022 10:24:01 +0200 Subject: [PATCH] Remove unnecessary default features for axum from axum-extra (#913) * Remove unnecessary default features for axum from axum-extra * Update changelog Co-authored-by: Leon Felix List Co-authored-by: David Pedersen --- axum-extra/CHANGELOG.md | 4 +++- axum-extra/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/axum-extra/CHANGELOG.md b/axum-extra/CHANGELOG.md index 91626dde..5f6f1e3e 100644 --- a/axum-extra/CHANGELOG.md +++ b/axum-extra/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning]. # Unreleased -- None. +- **fixed:** Don't depend on axum with default features enabled ([#913]) + +[#913]: https://github.com/tokio-rs/axum/pull/913 # 0.2.1 (03. April, 2022) diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index e43e9912..4a33f632 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -18,7 +18,7 @@ cookie = ["cookie-lib"] spa = ["tower-http/fs"] [dependencies] -axum = { path = "../axum", version = "0.5" } +axum = { path = "../axum", version = "0.5", default-features = false } bytes = "1.1.0" http = "0.2" mime = "0.3"