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)
Sat, Nov 9, 11:35 AM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:29 PM
Unknown Object (File)
Tue, Nov 5, 2:05 AM
Unknown Object (File)
Sun, Oct 27, 12:48 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