diff --git a/Cargo.toml b/Cargo.toml index d4fefb6f..fb3e079b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,2 +1,13 @@ +[package] +name = "nih_plug" +version = "0.1.0" +edition = "2021" +authors = ["Robbert van der Helm "] +license = "GPL-3.0-or-later" + [workspace] -members = ["nih_plug", "nih_plug_derive", "plugins/gain"] +members = ["nih_plug_derive", "plugins/gain"] + +[dependencies] +nih_plug_derive = { path = "nih_plug_derive" } +vst3-sys = { git = "https://github.com/RustAudio/vst3-sys.git" } diff --git a/nih_plug/Cargo.lock b/nih_plug/Cargo.lock deleted file mode 100644 index 563bbda9..00000000 --- a/nih_plug/Cargo.lock +++ /dev/null @@ -1,7 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "nih-plug" -version = "0.1.0" diff --git a/nih_plug/Cargo.toml b/nih_plug/Cargo.toml deleted file mode 100644 index 62187f5d..00000000 --- a/nih_plug/Cargo.toml +++ /dev/null @@ -1,10 +0,0 @@ -[package] -name = "nih_plug" -version = "0.1.0" -edition = "2021" -authors = ["Robbert van der Helm "] -license = "GPL-3.0-or-later" - -[dependencies] -nih_plug_derive = { path = "../nih_plug_derive" } -vst3-sys = { git = "https://github.com/RustAudio/vst3-sys.git" } diff --git a/plugins/gain/Cargo.toml b/plugins/gain/Cargo.toml index fd68906e..2f1c3f0f 100644 --- a/plugins/gain/Cargo.toml +++ b/plugins/gain/Cargo.toml @@ -7,4 +7,4 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -nih_plug = { path = "../../nih_plug" } +nih_plug = { path = "../../" } diff --git a/nih_plug/src/debug.rs b/src/debug.rs similarity index 100% rename from nih_plug/src/debug.rs rename to src/debug.rs diff --git a/nih_plug/src/lib.rs b/src/lib.rs similarity index 100% rename from nih_plug/src/lib.rs rename to src/lib.rs diff --git a/nih_plug/src/params.rs b/src/params.rs similarity index 100% rename from nih_plug/src/params.rs rename to src/params.rs diff --git a/nih_plug/src/plugin.rs b/src/plugin.rs similarity index 100% rename from nih_plug/src/plugin.rs rename to src/plugin.rs diff --git a/nih_plug/src/util.rs b/src/util.rs similarity index 100% rename from nih_plug/src/util.rs rename to src/util.rs diff --git a/nih_plug/src/wrapper.rs b/src/wrapper.rs similarity index 100% rename from nih_plug/src/wrapper.rs rename to src/wrapper.rs diff --git a/nih_plug/src/wrapper/vst3.rs b/src/wrapper/vst3.rs similarity index 100% rename from nih_plug/src/wrapper/vst3.rs rename to src/wrapper/vst3.rs