liblo-sys

Crates.ioliblo-sys
lib.rsliblo-sys
version0.2.2
created_at2025-06-11 16:11:09.634818+00
updated_at2025-06-12 10:56:29.123026+00
descriptionRaw FFI bindings for liblo (Open Sound Control library)
homepagehttps://github.com/no-materials/liblo-sys
repositoryhttps://github.com/no-materials/liblo-sys
max_upload_size
id1708823
size145,513
no-materials (no-materials)

documentation

https://docs.rs/liblo-sys

README

liblo-sys

Raw FFI bindings for the liblo library - a lightweight OSC (Open Sound Control) implementation.

Overview

This crate provides unsafe Rust bindings to liblo, allowing you to send and receive OSC messages in Rust applications. liblo is a C library that implements the Open Sound Control protocol for networked sound and media applications.

Installation

Prerequisites

  • liblo version: Requires liblo >= 0.32
  • Rust: Standard Rust toolchain

System Installation

By default, this crate will search for a system-installed liblo using pkg-config and attempt to link to it.

On NixOS: The package is included in the default dev-shell of the crate's flake.

nix develop .

On Ubuntu/Debian:

sudo apt-get install liblo-dev

On macOS (with Homebrew):

brew install liblo

Binding generation

Bindings can be regenerated using the generate_bindings binary. They will be placed in src/lo_sys.rs.

cargo run --bin generate-bindings

Contributing

Contributions are welcome! Please ensure that:

  • FFI bindings are complete and accurate
  • Documentation is updated for any API changes

License

This project is licensed under either of

at your option.

Links

Commit count: 22

cargo fmt