Page MenuHomePhabricator

[services-lib][blob-client] Use Bytes instead of Vec<u8>
ClosedPublic

Authored by bartek on Aug 28 2023, 4:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 1:12 PM
Unknown Object (File)
Sat, May 4, 1:12 PM
Unknown Object (File)
Sat, May 4, 1:11 PM
Unknown Object (File)
Sat, May 4, 1:02 PM
Unknown Object (File)
Fri, Apr 26, 4:32 PM
Unknown Object (File)
Apr 4 2024, 10:39 AM
Unknown Object (File)
Apr 4 2024, 10:39 AM
Unknown Object (File)
Apr 4 2024, 10:39 AM
Subscribers

Details

Summary

Partially overlaps with D8964 - we should use Bytes instead of Vec<u8> for blob data to avoid unnecessary allocations.

Also added the bytes dependency to services-lib and re-exported it.

Depends on D8786

Test Plan

Tested together with the next diff

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable