You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue tracks whether or not we can compile Alexandrie on the stable channel of the Rust toolchain.
Currently, the feature gates used inside of Alexandrie itself are:
async_await (released to stable since 1.39 on Nov. 7, 2019)
try_blocks (low usage, easy to replace)
inner_deref (released to stable since 1.40 on Dec. 19, 2019)
In order to move to the stable channel, every dependencies has to compile on stable too, so we need to wait for these crates to all work on stable.
The most notable awaited crates are:
futures (0.3.0 has support for async-await and now works on stable)
tokio (0.2.0 was released on Nov. 26, 2019)
tide (0.4.0 was released on Nov. 27, 2019)
runtime (deprecated, and we should remove it as a dependency whenever possible)
The text was updated successfully, but these errors were encountered:
Everything seems to have landed now to start upgrading to these versions and start compiling on the stable compiler channel.
I'll submit a PR with everything upgraded very soon.
I have looked into this, and Tide 0.4.0 seems to have (temporarily) put aside the support for a few things like cookies, that Alexandrie relies on (the frontend uses cookies to implement both sessions and one-off flash messages between pages).
So I think that we may have to unfortunately wait a little bit more for Tide to complete its API revamp or explore migrating to another web frameworks (maybe Rocket, once its async support lands ?).
I have been looking to the Rust 1.40 milestone to see what's new is landing on Dec 19 and I was happily surprised that the inner_deref feature (which gives things like Option::as_deref) is being stabilized in this release !
So, we can take it off the list of unstable feature gates.
So I have looked into this more and, even though Tide (temporarily) removed support for cookies, re-implementing them turned out to be quite easy.
So, PR #24 now makes the move to Tide 0.4.0 and makes everything compile on stable !
This issue tracks whether or not we can compile Alexandrie on the stable channel of the Rust toolchain.
Currently, the feature gates used inside of Alexandrie itself are:
In order to move to the stable channel, every dependencies has to compile on stable too, so we need to wait for these crates to all work on stable.
The most notable awaited crates are:
futures
(0.3.0
has support for async-await and now works on stable)tokio
(0.2.0
was released on Nov. 26, 2019)tide
(0.4.0
was released on Nov. 27, 2019)runtime
(deprecated, and we should remove it as a dependency whenever possible)The text was updated successfully, but these errors were encountered: