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)
Wed, Mar 26, 11:14 AM
Unknown Object (File)
Wed, Mar 26, 11:14 AM
Unknown Object (File)
Wed, Mar 26, 11:14 AM
Unknown Object (File)
Wed, Mar 26, 5:48 AM
Unknown Object (File)
Sun, Mar 16, 11:58 PM
Unknown Object (File)
Wed, Mar 5, 2:07 AM
Unknown Object (File)
Tue, Mar 4, 6:13 PM
Unknown Object (File)
Tue, Mar 4, 6:13 PM
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