1
0
Fork 0

Move features section in main Cargo.toml

This commit is contained in:
Robbert van der Helm 2022-02-15 18:13:47 +01:00
parent 7789432879
commit 15f27e2746

View file

@ -22,6 +22,12 @@ members = [
"plugins/diopser", "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] [dependencies]
nih_plug_derive = { path = "nih_plug_derive" } nih_plug_derive = { path = "nih_plug_derive" }
@ -49,9 +55,3 @@ features = [
"Win32_System_LibraryLoader", "Win32_System_LibraryLoader",
"Win32_System_Performance", "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"]