Closed dingxiangfei2009 closed 5 years ago
If I understand correctly, tower-grpc is using tower-hyper exclusively. Shall we remove these conversion functions?
tower-grpc
tower-hyper
h2 is dead. Long live tower-hyper.
h2
https://github.com/tower-rs/tower-grpc/blob/ea4d6fd95563ae54d0ec900ed01ce0e44b46e404/tower-grpc/src/status.rs#L103
Those are internal functions used to translate HTTP2 reset codes into gRPC statuses, and vice versa. The h2 library implements the HTTP2 protocol, and is still used inside hyper.
If I understand correctly,
tower-grpc
is usingtower-hyper
exclusively. Shall we remove these conversion functions?h2
is dead. Long livetower-hyper
.https://github.com/tower-rs/tower-grpc/blob/ea4d6fd95563ae54d0ec900ed01ce0e44b46e404/tower-grpc/src/status.rs#L103