rosc icon indicating copy to clipboard operation
rosc copied to clipboard

An OSC library for Rust.

Results 10 rosc issues
Sort by recently updated
recently updated
newest added

A little lifetime oversight of mine: The `OscAddress` needs to store the address as a string otherwise it doesn't own it, thus the string passed to `new` must live at...

Hello! I was curious if you would be interested in supporting OSC 1.1 features from https://opensoundcontrol.stanford.edu/files/2009-NIME-OSC-1.1.pdf - not much has changed but the multi-level wildcard could come in handy (‘//param’...

Clippy produced broken code when applying the remaining fix: $ cargo clippy --fix Checking rosc v0.6.0 (/home/alinz/code/rosc) warning: failed to automatically apply fixes suggested by rustc to crate `rosc` after...

In [`match_address`](https://github.com/klingtnet/rosc/blob/e524bc13c761be9928e9fc61cb6eb14802cf3011/src/address.rs#L84) we use a mutable `remainder` variable to track the remaining address string to parse. It would be beneficial for readability and maintainability to get rid of this mutable...

good first issue

Right now all parsing errors are translated into an [`OscError::ReadError` or `OscError::BadChar`](https://github.com/klingtnet/rosc/blob/9aee516de10b53b53bfbe2c5253e06f6ce4a5288/src/errors.rs#L27-L28) which eventually omit details stored in the `nom` parsing error. [Nom error management](https://github.com/Geal/nom/blob/main/doc/error_management.md) provides some details. This is...

good first issue

I've been trying to implement a dispatcher and noticed that the current matcher is a bit unergonomic to use. The `OscMessage`'s address is only checked for validity in the matcher....

At the moment there are only examples showing how to receive and send using a UDP socket. We should add related examples for sending and receiving OSC messsages over a...

good first issue

This adds `encode_tcp` ~~and fixes a bug when decoding a message that contains multiple packets~~. The implementation is still pretty basic, ideally `encode_tcp` should accept an `Output` trait object to...

Implement the `std::fmt::Display` trait for `OscPacket`, `OscType`, and related types. This is to facilitate cleaner log output in consuming projects. ### OscType Message argument values are prepended by the appropriate...

Hi! I found the bug while trying to decode messages containing blobs. It happens that when a blob's size is divisible by 4, 4 more bytes than required are skipped.