tikv / grpc-rs

The gRPC library for Rust built on C Core library and futures
Apache License 2.0
1.81k stars 253 forks source link

Reduce dependency on futures crate #554

Closed robjtede closed 2 years ago

robjtede commented 2 years ago

Reduces dependency graph of each crate:

before after
grpcio 50 30
benchmark 120 102
grpcio-compiler 2 2
grpcio-health 54 35
interop 71 51
grpcio-proto 54 33
tests-and-examples 63 57

A particularly important change has been made to the compiler crate which now references the Future trait directly from std rather than it's re-export through the futures crate, meaning that downstream crates can also move away from having a direct dependency on futures.