Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
verovioxide-sys
Raw FFI bindings to the Verovio music notation engraving library.
Overview
This crate provides low-level C bindings to Verovio. Most users should use the high-level verovioxide crate instead.
Installation
Features
| Feature | Default | Description |
|---|---|---|
bundled |
Yes | Compile Verovio C++ library from source |
prebuilt |
No | Download pre-built library from GitHub releases (faster) |
force-rebuild |
No | Force fresh compilation, bypassing cache |
Faster Builds with Prebuilt Binaries
For faster initial builds, enable the prebuilt feature:
[]
= { = "0.1", = ["prebuilt"] }
Prebuilt binaries are available for:
- macOS (x86_64, aarch64)
- Linux (x86_64, aarch64)
- Windows (x86_64 MSVC)
If prebuilt binaries aren't available for your platform, it automatically falls back to compiling from source.
Build Caching
The Verovio C++ library is compiled once and cached at target/verovio-cache/. Subsequent builds link to the cached library and complete in seconds.
To force a fresh recompilation:
Corporate/Restricted Networks
If your network blocks GitHub downloads, provide a local Verovio source:
VEROVIO_SOURCE_DIR=/path/to/verovio
Verovio Version
This crate bundles Verovio 5.7.0.
Related Crates
verovioxide- High-level safe Rust APIverovioxide-data- Bundled SMuFL fonts and resources
License
This project is licensed under the Apache License 2.0.
Verovio is licensed under the LGPL-3.0.