7 releases (breaking)

0.19.0 Jan 17, 2024
0.18.0 Nov 18, 2021
0.17.0 Jun 20, 2021
0.16.0 Apr 22, 2021
0.1.0 Jun 8, 2019

#14 in #osc

Download history 27/week @ 2024-01-15 30/week @ 2024-02-12 33/week @ 2024-02-19 47/week @ 2024-02-26 34/week @ 2024-03-04 62/week @ 2024-03-11 23/week @ 2024-03-18 64/week @ 2024-04-01 879/week @ 2024-04-08 361/week @ 2024-04-15 286/week @ 2024-04-22 446/week @ 2024-04-29

1,976 downloads per month
Used in bevy_osc


368 lines

nannou_osc Crates.io Crates.io docs.rs

The OSC API for nannou, the creative coding framework.

Please see the nannou guide for more information on how to get started with nannou!


Some of the features of this API include:

  • Simple OSC Sender and Receiver API around the raw UDP socket and OSC protocol.
  • Reasonable defaults for sender and receiver binding UDP addresses.
  • Type-safe distinction between "connected" and "unconnected" senders and receivers.
  • Blocking and non-blocking Iterator APIs for Receiver type.

nannou_osc uses the rosc crate - a pure-Rust, cross-platform OSC library for handling the low-level protocol encoding and decoding under the hood. Senders and Receivers are thin, zero-cost abstractions around the std::net::UdpSocket type.


You can find examples of nannou_osc in action at the nannou repository in the examples directory.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~23K SLoC