Skip to content

trillium-http-v1.3.4

Choose a tag to compare

@github-actions github-actions released this 02 Jun 20:56
· 37 commits to main since this release

What's Changed

Added

  • Body now supports Arc<[u8]> and Arc<str> fixed-length content via From conversions, for
    cheaply-cloneable shared bodies that don't require &'static borrowing or per-send Vec clones.

Changed

  • Reduced per-response heap allocations across HTTP/1.x, HTTP/2, and HTTP/3, concentrated in
    response-header encoding. Steady-state response encoding now allocates several fewer times per
    HTTP/2 and HTTP/3 response. Behavior and public API are unchanged.