From 15f27e27466ee62b904a19b97069428f6e8a5513 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 15 Feb 2022 18:13:47 +0100 Subject: [PATCH] Move features section in main Cargo.toml --- Cargo.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7ae9ebef..5b15d8d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,12 @@ members = [ "plugins/diopser", ] +[features] +default = [] +# Enabling this feature will cause the plugin to terminate when allocations +# occur in the processing function while compiling in debug mode. +assert_process_allocs = ["assert_no_alloc"] + [dependencies] nih_plug_derive = { path = "nih_plug_derive" } @@ -49,9 +55,3 @@ features = [ "Win32_System_LibraryLoader", "Win32_System_Performance", ] - -[features] -default = [] -# Enabling this feature will cause the plugin to terminate when allocations -# occur in the processing function while compiling in debug mode. -assert_process_allocs = ["assert_no_alloc"]