From 070e68c084bed099deba0ae7518616cbebc19f7a Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 26 Jan 2022 12:52:57 +0100 Subject: [PATCH] Move nih_plug to the repo's root Makes more sense to have this be on the same level as the workspace since technically this crate can be used separately. --- Cargo.toml | 13 ++++++++++++- nih_plug/Cargo.lock | 7 ------- nih_plug/Cargo.toml | 10 ---------- plugins/gain/Cargo.toml | 2 +- {nih_plug/src => src}/debug.rs | 0 {nih_plug/src => src}/lib.rs | 0 {nih_plug/src => src}/params.rs | 0 {nih_plug/src => src}/plugin.rs | 0 {nih_plug/src => src}/util.rs | 0 {nih_plug/src => src}/wrapper.rs | 0 {nih_plug/src => src}/wrapper/vst3.rs | 0 11 files changed, 13 insertions(+), 19 deletions(-) delete mode 100644 nih_plug/Cargo.lock delete mode 100644 nih_plug/Cargo.toml rename {nih_plug/src => src}/debug.rs (100%) rename {nih_plug/src => src}/lib.rs (100%) rename {nih_plug/src => src}/params.rs (100%) rename {nih_plug/src => src}/plugin.rs (100%) rename {nih_plug/src => src}/util.rs (100%) rename {nih_plug/src => src}/wrapper.rs (100%) rename {nih_plug/src => src}/wrapper/vst3.rs (100%) 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