Skip to main content

Crate truce_rack

Crate truce_rack 

Source
Expand description

Cross-format audio plugin host.

truce-rack is the umbrella crate. It re-exports the per-format wrapper crates behind features so a downstream user can opt into exactly the formats they need without juggling version pins across multiple direct dependencies.

§Default features

clap + vst3 — the two cross-platform mainstream plugin formats. CLAP is pure-Rust, VST3 uses the community vst3 crate (no Steinberg SDK submodule).

§Opt-in features

  • au — Audio Unit v2 host (Apple platforms only)
  • au3 — Audio Unit v3 (App Extension) host (Apple platforms only)
  • lv2 — LV2 host via lilv-sys (requires the system lilv library)

§Layout

Format wrappers are re-exported as nested modules so existing truce_rack_clap::* paths can also be reached as truce_rack::clap::*:

use truce_rack::core::scanner::PluginScanner;
use truce_rack::clap::ClapScanner;

let plugins = ClapScanner::new().scan()?;

For per-format granular dependency management, depend on the individual truce-rack-* crates directly instead.

Re-exports§

pub use truce_rack_core as core;
pub use truce_rack_clap as clap;
pub use truce_rack_vst3 as vst3;