Page MenuHomePhabricator

[native] rust project for native gRPC client
ClosedPublic

Authored by varun on Jul 29 2022, 11:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 4, 10:16 PM
Unknown Object (File)
Thu, Sep 26, 6:13 PM
Unknown Object (File)
Thu, Sep 26, 6:13 PM
Unknown Object (File)
Thu, Sep 26, 6:13 PM
Unknown Object (File)
Thu, Sep 26, 6:13 PM
Unknown Object (File)
Thu, Sep 26, 6:13 PM
Unknown Object (File)
Thu, Sep 26, 6:13 PM
Unknown Object (File)
Thu, Sep 26, 6:08 PM

Details

Summary

set up the Cargo project with some obvious dependencies

Test Plan

cargo build

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested changes to this revision.Aug 1 2022, 1:57 AM
tomek added inline comments.
native/cpp/CommonCpp/grpc/grpc_client/Cargo.toml
13 ↗(On Diff #15114)

The most recent version is 0.8.0 - why do we use an older one?

14 ↗(On Diff #15114)

Is there a reason to not use 0.11?

This revision now requires changes to proceed.Aug 1 2022, 1:57 AM
native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs
1 ↗(On Diff #15114)

What is this?

update dependencies

native/cpp/CommonCpp/grpc/grpc_client/Cargo.toml
13 ↗(On Diff #15114)

I copied the versions from the Identity service, but there's no reason not to use the latest versions I suppose

native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs
1 ↗(On Diff #15114)

since this is a library crate, we need a lib.rs file or else cargo will complain

forgot to bump the tonic-build version to match tonic

This revision is now accepted and ready to land.Aug 2 2022, 2:42 AM