# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "maolan-plugin-host"
version = "0.0.3"
authors = ["Maolan Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Out-of-process plugin host for Maolan DAW"
homepage = "https://maolan.github.io"
documentation = "https://maolan.github.io/docs"
readme = "README.md"
keywords = [
    "audio",
    "plugin",
    "clap",
    "vst3",
    "lv2",
]
categories = ["multimedia::audio"]
license = "BSD-2-Clause"
repository = "https://github.com/maolan/maolan"

[lib]
name = "maolan_plugin_host"
path = "src/lib.rs"

[[bin]]
name = "maolan-plugin-host"
path = "src/main.rs"

[[test]]
name = "windows_clap_load"
path = "tests/windows_clap_load.rs"

[dependencies.libc]
version = "0.2"

[dependencies.libloading]
version = "0.9"

[dependencies.maolan-plugin-protocol]
version = "0.0.9"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.vst3]
version = "0.3"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.lilv]
version = "0.2.4"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.lv2_raw]
version = "0.2.0"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Gdi",
    "Win32_System_LibraryLoader",
    "Win32_System_Memory",
    "Win32_UI_WindowsAndMessaging",
]
