Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use rust tokio asyc gRPC to build rust cli wallet #67

Closed
dckc opened this issue Aug 10, 2019 · 3 comments
Closed

use rust tokio asyc gRPC to build rust cli wallet #67

dckc opened this issue Aug 10, 2019 · 3 comments

Comments

@dckc
Copy link
Owner

dckc commented Aug 10, 2019

Some libraries include:
...

  • a gRPC client and server

https://tokio.rs/blog/2019-08-alphas/

@dckc
Copy link
Owner Author

dckc commented Aug 10, 2019

Houston, we have liftoff!

~/projects/spendr$ cargo run
   Compiling spendr v0.1.0 (/home/connolly/projects/spendr)
    Finished dev [unoptimized + debuginfo] target(s) in 3.00s
     Running `target/debug/spendr`
RESPONSE = Response { metadata: MetadataMap { headers: {"content-type": "application/grpc", "grpc-encoding": "identity", "grpc-accept-encoding": "gzip"} }, message: Streaming }

now to check it in...

@dckc
Copy link
Owner Author

dckc commented Aug 10, 2019

works in one case:
https://github.com/dckc/spendr 97e7fe7

@dckc
Copy link
Owner Author

dckc commented Aug 10, 2019

doesn't look like the new async / await stuff has made it up to the gRPC level yet

tower-rs/tower-grpc#198

@dckc dckc closed this as completed in dffa663 Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant