When the following comment was added in #1845, hyper's minimum supported rust version was 1.27.0
|
// `mem::uninitialized` replaced with `mem::MaybeUninit`, |
|
// can't upgrade yet |
|
#![allow(deprecated)] |
which I assume is why std::mem::MaybeUninit, stabilized in 1.36.0, could not be used yet. Today, hyper's MSRV is 1.46.0, so it should now be possible to investigate removing the #![allow(deprecated)].
When the following comment was added in #1845, hyper's minimum supported rust version was
1.27.0hyper/src/proto/h1/role.rs
Lines 1 to 3 in 4e9a006
which I assume is why
std::mem::MaybeUninit, stabilized in1.36.0, could not be used yet. Today, hyper's MSRV is1.46.0, so it should now be possible to investigate removing the#![allow(deprecated)].