Crates.io | lv2-urid |
lib.rs | lv2-urid |
version | 2.1.0 |
source | src |
created_at | 2020-02-23 14:29:00.062754 |
updated_at | 2020-10-23 15:17:50.925268 |
description | rust-lv2's URID handling library |
homepage | |
repository | https://github.com/RustAudio/rust-lv2 |
max_upload_size | |
id | 211752 |
size | 22,085 |
URI <-> URID mapping utilities used by rust-lv2
, a safe, fast, and ergonomic framework to create LV2 plugins for audio processing, written in Rust.
LV2 often uses URIs to identify types. However, comparing strings isn't particularly performant. Therefore, every URI can be mapped to a URID (basically a u32
) by the host, which can be efficiently compared. This concept is implemented by the urid
crate and this crate adapts it for the use by an LV2 plugin or host.
The original LV2 API (in the C
programming language) is documented by "the LV2 book". This book is in the process of being translated to Rust along with the development of rust-lv2
(link) and describes how to properly use rust-lv2
.
Like any other crate of rust-lv2
, this crate has the optional host
feature. Some of the types defined by some crates are only useful for testing or LV2 hosts. Since the goal of this framework is to provide an easy way to create plugins, these aren't necessary and therefore gated behind that feature.
Licensed under either of
at your option.