Skip to content

Releases: klingtnet/rosc

Implement error:Error for OscError

27 Mar 11:45
2922036
Compare
Choose a tag to compare

OscError is now implementing the std::error::Error trait. This increases code ergonomics because it allows OscError to be used with the ? operator and with anyhow:Error.

Thanks to @ooesili for implementing that!

Conversion between OscTime and SystemTime

23 Mar 20:05
5467083
Compare
Choose a tag to compare

This release adds conversion functionality between SystemTime and OscTime.
This comes with a minor breaking change but OscTime implements From/Into traits for (u32, u32) (the previous type alias) and so you can just use .into() to convert between (u32, u32) and OscTime. More details can be found in the docks docs.

Thanks to @ooesili for providing the implementation!