-
Notifications
You must be signed in to change notification settings - Fork 82
Question: What's the future of tokio-proto and should new libraries depend on it? #202
Comments
I am not a tokio developer, but tower-rs looks like a replacement for tokio-proto |
I disagree. Looking at the docs it looks like
|
I created an issue here: tokio-rs/tokio#118 Tower is going to be the replacement for The disclaimer re: "not ready for usage" is mostly in regards to everything in that repo that is not the service trait. |
What's the recommendation for the basic use case of tokio-proto now that tokio 0.2 is out? If you have a pretty clear codec (encoder/decoder) and want to use that from a client, then before, you'd use Client->Proto->Codec and it was fairly obvious. The server end could build a TcpServer using the same protocol definition. Customizing that was hard for me to understand, so I'll be glad if the new direction is clearer, but I'm just confused about how to approach protocol development at the moment. |
@tjkirch you are not the only one ;-)
But there still seems to be a lack of time :( |
As a library author I'd love to get some more clarity about the future of
tokio-proto
.Within the tokio-reform I can read the following:
This is not a good foundation for tokio-library developers, is it?
What exactly do you mean by "strong"?
It might not the most popular use case but nevertheless it is one of many: tokio-modbus.
I recently added a server implementation based on
tokio_proto::TcpServer
. It kind of works but I don't see that this is the best solution. E.g. there is no way to configure theTcpStream
(timeouts etc.).I love to spend a lot of time to improve the tokio project and the rust ecosystem in general. And to do so clarity would help a lot :)
I really would like to get some feedback on how I should behave.
The text was updated successfully, but these errors were encountered: