Skip to content

Commit f704905

Browse files
authored
Re-export the headers crate when the headers feature is active (#630)
1 parent dea36db commit f704905

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

axum/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,9 @@ mod test_helpers;
402402
pub use add_extension::{AddExtension, AddExtensionLayer};
403403
#[doc(no_inline)]
404404
pub use async_trait::async_trait;
405+
#[cfg(feature = "headers")]
406+
#[doc(no_inline)]
407+
pub use headers;
405408
#[doc(no_inline)]
406409
pub use http;
407410
#[doc(no_inline)]

0 commit comments

Comments
 (0)