[package]
name = "nice-plug"
version = "0.1.2"
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
keywords = ["audio", "plugin", "clap", "vst", "vst3"]
categories = ["multimedia::audio"]
description = "An audio plugin development framework that is nice to use :)"
readme = "../../README.md"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["vst3"]
assert_process_allocs = ["dep:nice-assert-no-alloc", "nice-plug-core/assert_process_allocs"]
standalone = [
"dep:baseview",
"dep:clap",
"dep:cpal",
"dep:jack",
"dep:midir",
"dep:rtrb",
"dep:fixed-resample",
"dep:audioadapter-buffers"
]
vst3 = ["dep:vst3", "dep:widestring"]
simd = ["nice-plug-core/simd"]
zstd = ["dep:zstd"]
unsafe_flush_denormals = []
[dependencies]
nice-plug-derive = { path = "../nice-plug-derive", version = "0.1.2" }
nice-plug-core = { path = "../nice-plug-core", version = "0.1.3" }
nice-assert-no-alloc = { version = "1.0", features = ["backtrace", "log"], optional = true }
nice-log = { path = "../nice-log", version = "0.2.3" }
clap-sys = "0.5.0"
clap = { version = "4.1.8", features = [
"derive",
"wrap_help",
], optional = true }
parking_lot.workspace = true
atomic_refcell.workspace = true
crossbeam.workspace = true
anymap3 = "1.0.1"
anyhow.workspace = true
serde_json.workspace = true
backtrace = "0.3.76"
log = "0.4"
raw-window-handle.workspace = true
atomic_float.workspace = true
zstd = { version = "0.13.3", optional = true }
baseview = { workspace = true, optional = true }
cpal = { version = "0.17.3", optional = true }
jack = { version = "0.13.5", optional = true }
midir = { version = "0.11.0", optional = true }
fixed-resample = { version = "0.11.2", default-features = false, features = ["channel"], optional = true }
audioadapter-buffers = { version = "3", optional = true }
rtrb = { workspace = true, optional = true }
vst3 = { version = "0.3.0", optional = true }
widestring = { version = "1.2.1", optional = true }
[target.'cfg(all(target_family = "unix", not(target_os = "macos")))'.dependencies]
libc = "0.2.124"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2.7"
core-foundation = "0.9.3"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.44"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_UI_WindowsAndMessaging",
"Win32_System_LibraryLoader",
"Win32_System_Performance",
]
[dev-dependencies]
approx.workspace = true