| Crates.io | sdif-sys |
| lib.rs | sdif-sys |
| version | 0.5.2 |
| created_at | 2025-12-05 23:38:48.823599+00 |
| updated_at | 2025-12-06 08:31:35.188393+00 |
| description | Raw FFI bindings to the IRCAM SDIF (Sound Description Interchange Format) C library |
| homepage | |
| repository | https://github.com/oxur/sdif |
| max_upload_size | |
| id | 1969403 |
| size | 4,372,354 |
Raw FFI bindings to the IRCAM SDIF (Sound Description Interchange Format) C library.
This crate is published as a placeholder on crates.io. When downloaded from crates.io without the SDIF C library installed, it will compile with stub bindings that provide the type definitions but no actual functionality. The stub functions will link but cannot be called at runtime.
To use this crate, you must have the SDIF C library available either:
This crate provides low-level, unsafe bindings to the SDIF library. For most use cases,
you should use the sdif-rs crate which provides a safe, idiomatic Rust API.
If you have SDIF installed system-wide:
cargo build
The build script will use pkg-config to find the library.
To compile SDIF from source:
sdif/README.md)cargo build --features bundled
For static linking:
cargo build --features static
All functions in this crate are unsafe. The SDIF library:
SdifGenInit)MIT License - see LICENSE file.