1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-03-22 23:15:31 +01:00

Fix build with form feature without headers feature ()

Fixes 
This commit is contained in:
David Pedersen 2022-06-20 09:14:21 +02:00 committed by GitHub
parent 5ac0b2b3d7
commit 7f203b96e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
# Unreleased
- None.
- **fixed:** Fix compile error when the `headers` is enabled and the `form`
feature is disabled
# 0.5.8 (18. June, 2022)

View file

@ -437,8 +437,8 @@ pub use self::routing::Router;
pub use self::typed_header::TypedHeader;
#[doc(inline)]
#[cfg(feature = "headers")]
pub use form::Form;
#[cfg(feature = "form")]
pub use self::form::Form;
#[doc(inline)]
pub use axum_core::{BoxError, Error};