rosc is an implementation of the OSC 1.0 protocol in pure Rust.
Add rosc to the dependencies section of your projects Cargo.toml:
rosc
Cargo.toml
[dependencies] rosc = "~0.1"
The package documentation can be found here