Skip to content

v0.10.0-alpha.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@stephank stephank released this 12 Dec 18:20
· 26 commits to main since this release
  • Breaking change: FileBytesStream and FileResponseBuilder are no longer exported. If you were using these, please let us know via an issue, so we can design an API that fits the changes in structures.
  • Breaking change: The VFS layer now uses a new FileAccess trait instead of AsyncRead, to save on copy operations when serving from MemoryFs. An additional IntoFileAccess trait was also added to provide an intermediate step where buffer allocation can take place. These changes are reflected in type constraints throughout the crate API.
  • Fixed an issue where MemoryFs would not serve the directory index for /.