github hyperium/hyper v1.8.0

16 hours ago

Highlights

Features

  • rt: add Timer::now() method to allow overriding the instant returned (#3965) (5509ebe6)

Bug Fixes

Breaking Changes

While technically breaking, it's assumed you will not need to do anything or be affected.

  • The HTTP/2 client connection no longer allows an executor
    that can not spawn itself.

    This was an oversight originally. The client connection will now include spawning
    a future that keeps a copy of the executor to spawn other futures. Thus, if it is
    !Send, it needs to spawn !Send futures. The likelihood of executors that match
    the previously allowed behavior should be very remote.

    There is also technically a semver break in here, which is that the
    Http2ClientConnExec trait no longer dyn-compatible, because it now expects to
    be Clone. This should not break usage of the conn builder, because it already
    separately had E: Clone bounds. If someone were using dyn Http2ClientConnExec,
    that will break. However, there is no purpose for doing so, and it is not usable
    otherwise, since the trait only exists to propagate bounds into hyper. Thus, the
    breakage should not affect anyone.
    (58e0e7dc)

What's Changed

New Contributors

Don't miss a new hyper release

NewReleases is sending notifications on new releases.