Skip to content

Releases: klingtnet/rosc

Fix no_std build failure and raise mininum Rust version

23 Mar 10:02
Compare
Choose a tag to compare

Fix an OSC decoding issue

13 Mar 10:05
Compare
Choose a tag to compare

This fixes a bug 🐛 with decoding OSC strings whose contents, excluding the null termination byte, were four-byte aligned.
Clients are recommended to update to this version. See #51 for details.

Thanks to @edjin for providing the initial patch.

TCP encoder and usage examples

13 Mar 10:00
Compare
Choose a tag to compare

See #50 for details.

Note Version v0.11.2 on crates.io got accidentally published from a feature branch.

Implement std::fmt::Display for all OSC types

06 Mar 10:03
Compare
Choose a tag to compare

This includes #53 that implemented std::fmt::Display for all OSC types.

Rust Edition 2021

06 Mar 09:40
Compare
Choose a tag to compare

This updates the crate to follow Rust Edition 2021.
Rust 1.56 is now the minimal required version.

Better docs

30 Apr 07:59
Compare
Choose a tag to compare

This release just adds some additional context to the decoder::decode_tcp docs and fixes some link in other doc strings. Without a release the new doc strings would not show up on https://docs.rs/rosc.

Improved Encoder API

08 Apr 09:19
Compare
Choose a tag to compare

Thanks to @Barinzaya for submitting #44 which improves the encoder API in two ways:

  1. It defines a new Output trait and a new encode_into function that allows to encode OSC data into anything that implements the Output trait. The Output trait got implemented of Vec<u8>, so that the existing encode function can leverage encode_into under the hood.
  2. Encoder performance improved by an order of magnitude 🚀 🐎 ! There was no regression, only speedups between 5 and 21 times. This was mainly achieved by preventing a lot of allocations (as done in the previous implementations). For more details see #44.

Apply clippy suggestions

08 Apr 09:08
Compare
Choose a tag to compare

This is a housekeeping release that implements clippy suggestions from #43 and #42.

Minor enhancements

08 Apr 08:58
8219a98
Compare
Choose a tag to compare

With this release the Display trait get's implemented for OscAddress (08b2d4f) and a number of other address related structs now derive Clone and Debug traits.

Use String to store OSCAddress

23 Aug 16:04
b7ff3dd
Compare
Choose a tag to compare

We now use String to store an OSCAddress because it will prevent lifetime issues when the given address does not live long enough. Thanks again to @DrLuke for this fix 🎉 !