rust-sysfs-pwm icon indicating copy to clipboard operation
rust-sysfs-pwm copied to clipboard

Release 0.2 for crates.io

Open quietlychris opened this issue 11 months ago • 3 comments

Hi there,

The documentation for this crate states that users should put sysfs_pwm = "0.2" into their Cargo.toml file, but it doesn't appear that this has actually been released per the versions at https://crates.io/crates/sysfs-pwm/versions.

Would it be possible to publish an updated version? The most recent release 0.1 was eight years ago, the current main has been stable for a couple of years, and there's been a fair amount of API change between the two in the interim.

Thanks for your consideration!

quietlychris avatar Jan 04 '25 17:01 quietlychris

Uh, this crate really needs a revamp. I see that it does not even have a changelog. Would you be able to put together a list of the relevant changes (added/changed/removed) between the 0.1 release and the current master to create one?

eldruin avatar Jan 04 '25 21:01 eldruin

Sorry for the delay on this! Based on the commit history, I think the following are the major elements that would have been included in a changelog, but if there's anything missing that you'd like to see included, please let me know!

  • Fix MSRV
  • Various README updates
  • Various CI-related modifications
  • Add various crate-related metadata
  • Resolve cargo-fmt
  • Remove implementation of deprecated Error::description function
  • Fix addition of explicit dyn
  • Add ability to read capture file descriptor #18
  • Add functions for polarity get/set #16
  • Handle errors in closure for function with_exported #14
  • Add get_duty_cycle and set_duty_cycle methods #13
  • Add Code of Conducet and update README to reference it #7
  • Add getter for checking state of enable
  • Refactor closure error matching #3
  • Remove redundant error pattern matching #3
  • Switch to use of ? operator instead of try! macro #3

quietlychris avatar Jan 24 '25 21:01 quietlychris

Thanks! I have prepared a PR and once that is merged I can do the release. #27

eldruin avatar Feb 07 '25 11:02 eldruin