ohyo-io / wampire

Asynchronous Rust implementation of a WAMP (Web Application Messaging Protocol) client and router
MIT License
42 stars 8 forks source link

Migrate to Rust 2018 edition #2

Closed frol closed 4 years ago

frol commented 4 years ago

It is just the first step.

I want to migrate wampire to Rust 1.39 async/await. To do that, I am going to replace eventual with tokio (0.2 alpha) and ws with tungstenite & tokio-tungstenite (async/await support is currently in PR).

dudochkin-victor commented 4 years ago

but I think you should be more patient in order to be compatible with systems that support a stable version of the language.

frol commented 4 years ago

Async/await will land to stable in 2 days :)

Also, we can do alpha releases and follow Tokio releases.

dudochkin-victor commented 4 years ago

I am telling you about accepting the release of a programming language in operating systems. Thank you anyway. Keep patience.. maybe branch and add you to this repo?

frol commented 4 years ago

I am not rushing a release. I am completely fine with a separate branch or non-released master. I am starting a new project and after spending another round of searching for a good foundation for inter-service communication I came back to WAMP-proto and I am in love with Rust and async/await, so here I am. I am going to work through the migration in my fork and time will show whether I will succeed with that and then we will be in a better position to discuss the organizational questions :)