From 736468a510f320f0d190b926bbc1b0e28b56a37d Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 25 Jan 2022 12:23:19 +0100 Subject: [PATCH] Move nih-plug to a workspace --- Cargo.toml | 10 ++-------- nih-plug/Cargo.lock | 7 +++++++ nih-plug/Cargo.toml | 8 ++++++++ {src => nih-plug/src}/lib.rs | 0 {src => nih-plug/src}/params.rs | 0 {src => nih-plug/src}/plugin.rs | 0 6 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 nih-plug/Cargo.lock create mode 100644 nih-plug/Cargo.toml rename {src => nih-plug/src}/lib.rs (100%) rename {src => nih-plug/src}/params.rs (100%) rename {src => nih-plug/src}/plugin.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 4309dd66..5bf4a846 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,2 @@ -[package] -name = "nih-plug" -version = "0.1.0" -edition = "2021" -authors = ["Robbert van der Helm "] -license = "GPL-3.0-or-later" - -[dependencies] +[workspace] +members = ["nih-plug"] diff --git a/nih-plug/Cargo.lock b/nih-plug/Cargo.lock new file mode 100644 index 00000000..563bbda9 --- /dev/null +++ b/nih-plug/Cargo.lock @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 00000000..4309dd66 --- /dev/null +++ b/nih-plug/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "nih-plug" +version = "0.1.0" +edition = "2021" +authors = ["Robbert van der Helm "] +license = "GPL-3.0-or-later" + +[dependencies] diff --git a/src/lib.rs b/nih-plug/src/lib.rs similarity index 100% rename from src/lib.rs rename to nih-plug/src/lib.rs diff --git a/src/params.rs b/nih-plug/src/params.rs similarity index 100% rename from src/params.rs rename to nih-plug/src/params.rs diff --git a/src/plugin.rs b/nih-plug/src/plugin.rs similarity index 100% rename from src/plugin.rs rename to nih-plug/src/plugin.rs