Minimum version required for dependency crate bytes in v0.8.x document
#3511
Replies: 3 comments
-
|
What's in You can read up on cargo's dependency versions unification but the gist is that axum has declared dependency on The versions on docs.rs are autogenerated from Cargo.toml. |
Beta Was this translation helpful? Give feedback.
-
|
It's been bumped now in #3513 |
Beta Was this translation helpful? Give feedback.
-
|
I didn't know that I can send PR directly |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I try to upgrade
axumfrom0.6.20to0.8.6in my Cargo project ,my project currently depends on crate
bytes == 1.5.0.I discover that I have to upgrade
bytesto1.7.0to successfully compile neweraxumversion,otherwise the compiler emits error .
On the document site , the dependency
bytesis specified as^1.0,Looking into the
axum v0.8.6codebase, I found in itsCargo.lockthat it pinsbytes = "1.10.1".My questions are :
axum 0.8.6, is the correct bytes requirement^1.7.0, or should the documentation explicitly require^1.10.1(or a minimum)?Thanks for your time and feedback
Beta Was this translation helpful? Give feedback.
All reactions