-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust stable #712
Comments
The main reason is probably this: rwf2/Rocket#19
I'm not involved with writing code in any of these projects(including here) but it seems that all of those options are neither easy nor fast to do, so there is still a way to go before compiling bitwarden_rs with stable rust is possible. |
The end goal is to have it being able to have it compiled using the stable version. |
Thank you everyone for the insight, it's really appreciated! Does this help at all? https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html |
Any updates on this? I think Rocket was getting close to stable compatibility but not sure what else still needs nightly. On my platforms I do not have access to docker and prefer to use stable Rust if I can, meaning for the moment I can't really use the project despite wanting to try it out. |
Well the proc-macro hygiene is on track to be stabilized for next Rust release sometime this week, and there are some Span related things in the pear library that are still not stabilized, but those are only to have nicer compile errors, so they might be moved behind a feature gate to make it compile in stable rust, and nightly can be used for nicer errors. Other than that, I assume the next rocket release will also include the async stuff seeing as it has been merged into master, so it might take a bit longer to iron out all it's issues.
Edit: All the unstable features used by bitwarden_rs have been removed, so now it's just waiting for the new versions of rocket and rust. Edit2: The async branch now compiles on stable! 🎉 This uses an unreleased version of Rocket, and will be merged once Rocket 0.5 is released. https://github.com/dani-garcia/bitwarden_rs/tree/async |
Looking forward to this happening. |
I think this issue has been resolved? At least for me it compiles using stable (1.55). |
@hgaiser that doesn't work on the |
That's what I mean, for me it seems to work on |
It can't work with stable at all, not with only sqlite or any other database since the Rocket version/commit which is used in
|
Ah I see what happened: there is a nightly toolchain defined in |
Hey @dani-garcia, You wrote that
Would it make sense to try updating Rocket to 0.5.0-rc.1 released in june, and then merging the async branch if everything works out? In the Blog post they are writing "We encourage all users to migrate their applications to the release candidate." The mentioned plans to release |
We already have an async branch, but it needs some updating to catch-up on main. |
I have an unfinished version of the update to the RC on my laptop that needs some database changes to work with async, I'll see if can can finish it sometime soon. |
As an update, there is a new |
This is now added and enabled via #2276. |
Any view on when this might make it into an official release? |
It currently is in the |
Ok. I will be trying it out this week. Is there is a list of know issues beyond the github issues list? |
We only have GitHub for issue tracking. There is a ticket for gathering of issues/features which are open #246 Also, if you are talking about specific issues with the new build which is able to build with stable, then until now we have no new reports regarding this. I have been running it for a while now, and didn't encountered any strange issues as of yet. |
I just realised you mean the docker images. Ok. I'm working towards building the offical alpine package, so I will just make an alpine package build from master then to test it. |
Yea, the |
It would be great to be able to build this with a stable version of rust. Installation of stable rust is a lot more straightforward, and would make it easier to convince Linux distros to include bitwarden_rs in their official repositories.
The text was updated successfully, but these errors were encountered: