I use tonic
to build a server. The grpc requests/replies have many short-string members.
I find prost
converts the protobuf's string
into Rust's String
.
I want to use SmartString
to replace String
for better performance.
Can I do this?
I use tonic
to build a server. The grpc requests/replies have many short-string members.
I find prost
converts the protobuf's string
into Rust's String
.
I want to use SmartString
to replace String
for better performance.
Can I do this?