hyperium / tonic

A native gRPC client & server implementation with async/await support.
https://docs.rs/tonic
MIT License
9.32k stars 954 forks source link

chore(codec): Use as_str method to implement display for CompressionEncoding #1765

Closed tottoto closed 3 days ago

tottoto commented 4 days ago

Reduces duplicate similar implementations for the similar purpose.

djc commented 3 days ago

Thanks for these PRs! Would have welcomed these suggestions as feedback on my original PR, too.