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 (#1107)
Fixes #1106
This commit is contained in:
parent
5ac0b2b3d7
commit
7f203b96e6
2 changed files with 4 additions and 3 deletions
axum
|
@ -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)
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Add table
Reference in a new issue