AaronErhardt / tuxedo-rs

Rust libraries for interacting with hardware from TUXEDO Computers
GNU General Public License v2.0
151 stars 12 forks source link

hwcaps: Add new crate for checking hardware capabilities #37

Closed AaronErhardt closed 1 year ago

AaronErhardt commented 1 year ago

Test with

cargo install tailor_hwcaps --git https://github.com/AaronErhardt/tuxedo-rs.git --branch hwcaps
mrcjkb commented 1 year ago

About the formatting CI failure: It could be that the rustfmt version in CI is outdated. This can be solved by updating the flake.lock (which I can add an automated workflow for).

AaronErhardt commented 1 year ago

@mrcjkb do I need to add something more to get this crate recognized by the existing release infrastructure? I've updated the release-please config, but not .release-please-manifest.json.

mrcjkb commented 1 year ago

@mrcjkb do I need to add something more to get this crate recognized by the existing release infrastructure? I've updated the release-please config, but not .release-please-manifest.json.

Yes, I think you need to update the manifest, too, with the initial version.

AaronErhardt commented 1 year ago

The flake update did not fix the CI btw. I'm not even sure what is reported in the error...

mrcjkb commented 1 year ago

The flake update did not fix the CI btw. I'm not even sure what is reported in the error...

Based on the log it looks like rustfmt is complaining.

AaronErhardt commented 1 year ago

My bad. I ran cargo fmt, but just in a subdirectory... Should work now.

Thanks for your help!