axum-v0.7.5

tokio-rs/axumaxum-v0.7.5Mar 24, 2024by davidpdrsn

AI Summary

A maintenance release that fixes layer cloning issues in serve and removes the h2 dependency unless the http2 feature is enabled.

Key Highlights

  • Fixed layers being cloned when calling axum::serve
  • Removed h2 dependency unless http2 feature is enabled

Full Release Notes

- **fixed:** Fixed layers being cloned when calling `axum::serve` directly with
  a `Router` or `MethodRouter` ([#2586])
- **fixed:** `h2` is no longer pulled as a dependency unless the `http2` feature
  is enabled ([#2605])

[#2586]: https://github.com/tokio-rs/axum/pull/2586
[#2605]: https://github.com/tokio-rs/axum/pull/2605