Skip to content
Discussion options

You must be logged in to vote

Hey, it sounds like you are using two different versions of the http crate at the same time, and getting a type mismatch when trying to use HeaderMap from both interchangeably.

axum::http is simply a re-export of the http crate as you can see here. As of axum 0.7, that's version 1.x.y of the http crate, before it was version 0.2.x.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jplatte
Comment options

You must be logged in to vote
1 reply
@jplatte
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants