mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-22 00:00:17 +02:00
Fix build with form feature without headers feature (#1107)
Fixes #1106
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
|
||||
+2
-2
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user