-
Notifications
You must be signed in to change notification settings - Fork 4
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
Easier usage for projects #7
Comments
Once wpilib-sys is published on crates.io, I'll work on getting this published as well. |
The published ctre-sys 5.4.0 will only have the CCI library for athena, as it is intended to strictly track Phoenix releases. (The code in build.rs is to accommodate for simulation libraries in Phoenix 5.8.) I'm currently working on rearchitecting the ctre-sys crate for Phoenix 5.7 - I plan to have a separate ctre-data crate to hold structs and enums that will have serde support (as I would like to see the Configuration structs have serde support to accommodate anticipate team usage). |
Also note that currently ctre-sys will not successfully link without the WPILib HAL, as I haven't been able to find a solution to the weird NI libraries linkage situation yet (and I probably won't be able to). |
If packaging and/or using static libraries in |
There's no issue with wpilib-sys here - in fact a robot program should build and link fine with wpilib-sys. The problem is with the NI libraries, which WPILib has had a workaround for in the HAL since the dawn of time.
|
Could this be put on crates.io or could the binaries be included on Github? I would like to have some easy way to use this library such as being able to copy paste a dependency into the cargo.toml.
I am not completely sure where to get the sim binaries required to compile this though, and I doubt others will either without some extra documentation.
ctre-rs = "2.3.4"
ctre-rs = {git = "..."}
The text was updated successfully, but these errors were encountered: