Skip to content
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

Update crates.io #74

Open
dr-bonez opened this issue Sep 9, 2019 · 2 comments
Open

Update crates.io #74

dr-bonez opened this issue Sep 9, 2019 · 2 comments

Comments

@dr-bonez
Copy link

dr-bonez commented Sep 9, 2019

I'm looking into using rust in the 2020 season and it looks like this crate is many months out of date on crates.io. Is master in a stable state? Can we have the latest stable version published to crates.io?

@auscompgeek
Copy link
Member

Is master in a stable state?

I would personally say no:

  • there are a couple of outstanding PRs with deliberate breaking changes (on top of already breaking changes)
  • master currently builds against an outdated version of the WPILib HAL

I would personally like to see #70 merged in, at minimum, before a new release is made.

@Lytigas
Copy link
Collaborator

Lytigas commented Nov 11, 2019

I definitely agree with @auscompgeek, master is not stable. I want to add that there are plans to make a release for 2020, work is happening on that now. As of right now, we are working on fixing some interfaces and updating to the 2020 images, which means people not in the FRC beta won't be able to use the latest version. So, @dr-bonez, if you want to experiment with Rust before the 2020 season, v0.4.0 is very usable. Here's the setup my team used in 2019, which should build with no extra work outside of the setup described in the READMEs here.

[dependencies]
wpilib = "0.4.0"
ctre = { git = "https://github.com/Lytigas/ctre-rs.git", branch = "2019-cargo" }

We used a small fork of ctre-rs to make the build process easier for us, work which will have an equivalent upstream before 2020.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants