Page MenuHomePhabricator

rust project for native blob gRPC client
AbandonedPublic

Authored by marcin on Sep 5 2022, 7:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 17, 2:23 AM
Unknown Object (File)
Thu, May 9, 7:45 AM
Unknown Object (File)
Tue, May 7, 9:03 PM
Unknown Object (File)
Tue, May 7, 6:48 PM
Unknown Object (File)
Mon, Apr 29, 12:38 AM
Unknown Object (File)
Mon, Apr 29, 12:38 AM
Unknown Object (File)
Mon, Apr 29, 12:37 AM
Unknown Object (File)
Mon, Apr 29, 12:37 AM

Details

Summary

This differential initializes directory with rust library to exchange data with blob service in a way suitable for mobile devices. Cargo.toml is the only file that actually matters here.

Test Plan

Run cargo build from project root

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

marcin requested review of this revision.Sep 5 2022, 7:46 AM
tomek added inline comments.
native/cpp/CommonCpp/grpc/blob_client/rust/Cargo.toml
10 ↗(On Diff #16328)

We should provide major and minor version.

Do we use all the provided features?

22 ↗(On Diff #16328)

Please add a new line

This revision is now accepted and ready to land.Sep 5 2022, 8:31 AM
native/cpp/CommonCpp/grpc/blob_client/rust/Cargo.toml
10 ↗(On Diff #16328)

You were right, in further diffs I do not need "macros", but the way I initialize runtime (@varun does it the same way) requires "rt-multi-thread"

Adding @ashoat because there are new dependencies

This revision now requires review to proceed.Sep 9 2022, 6:30 AM
In D5051#148862, @tomek wrote:

Adding @ashoat because there are new dependencies

All dependencies here are already in grpc_client/Cargo.toml from current master. Most probably entire blob client code will be merged into grpc_client as rust module.

jon requested changes to this revision.Sep 12 2022, 9:19 AM
jon added inline comments.
native/cpp/CommonCpp/grpc/blob_client/rust/Cargo.toml
2 ↗(On Diff #16407)

should give it a more appropriate name

This revision now requires changes to proceed.Sep 12 2022, 9:19 AM

I created this revision when I thought my blob client will be a separate binary. But since we agreed on creating one Rust crate for all native gRPC code, this revision will be abandoned once @varun refactors grpc_client. My blob client uses the same dependencies that are already used inside grpc_client so this revision will not be necessary. I do not think it is worth any reviewer time to review this.

This revision is now accepted and ready to land.Sep 16 2022, 12:55 PM

Refactor after varun's changes

Diff from 2022 what I was assigned encrypted blob upload work.