Skip to main content

wavecraft_core/
lib.rs

1//! Wavecraft Core - Audio plugin SDK
2//!
3//! This crate provides the core Wavecraft SDK for building audio plugins.
4//! It re-exports types from the sub-crates and provides the `wavecraft_processor!` macro.
5//!
6//! For full plugin building with nih-plug integration, use `wavecraft-nih_plug`
7//! which depends on this crate and adds the host integration layer.
8//!
9//! # Quick Start
10//!
11//! ```text
12//! // In your plugin crate, depend on wavecraft-nih_plug:
13//! // [dependencies]
14//! // wavecraft = { package = "wavecraft-nih_plug", git = "...", tag = "v0.8.0" }
15//!
16//! use wavecraft::prelude::*;
17//!
18//! wavecraft_processor!(MyGain => Gain);
19//!
20//! wavecraft_plugin! {
21//!     name: "My Plugin",
22//!     vendor: "My Company",
23//!     signal: MyGain,
24//! }
25//! ```
26
27// Public modules
28pub mod macros;
29pub mod prelude;
30
31// Re-export helper crates used by macros
32pub use paste;
33
34// Re-export sub-crates for convenient access
35pub use wavecraft_bridge;
36pub use wavecraft_dsp;
37pub use wavecraft_macros;
38pub use wavecraft_metering;
39pub use wavecraft_protocol;