From 10aabe3a385b1bcfe81393bd8b44c89f8590e47e Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 4 May 2024 20:27:44 +0200 Subject: [PATCH] Use default-features instead of default_features The latter is deprecated. --- nih_plug_iced/Cargo.toml | 2 +- nih_plug_iced/README.md | 2 +- nih_plug_vizia/Cargo.toml | 2 +- plugins/examples/gain_gui_vizia/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nih_plug_iced/Cargo.toml b/nih_plug_iced/Cargo.toml index 85b4c70a..7b2c9839 100644 --- a/nih_plug_iced/Cargo.toml +++ b/nih_plug_iced/Cargo.toml @@ -67,6 +67,6 @@ atomic_refcell = "0.1" baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "1d9806d5bd92275d0d8142d9c9c90198757b9b25" } crossbeam = "0.8" # This targets iced 0.4 -iced_baseview = { git = "https://github.com/robbert-vdh/iced_baseview.git", branch = "feature/update-baseview", default_features = false } +iced_baseview = { git = "https://github.com/robbert-vdh/iced_baseview.git", branch = "feature/update-baseview", default-features = false } # To make the state persistable serde = { version = "1.0", features = ["derive"] } diff --git a/nih_plug_iced/README.md b/nih_plug_iced/README.md index c048e580..548a9d1a 100644 --- a/nih_plug_iced/README.md +++ b/nih_plug_iced/README.md @@ -9,7 +9,7 @@ configurations. To use wgpu instead, include the crate with the following options: ```toml -nih_plug_iced = { git = "https://github.com/robbert-vdh/nih-plug.git", default_features = false, features = ["wgpu"] } +nih_plug_iced = { git = "https://github.com/robbert-vdh/nih-plug.git", default-features = false, features = ["wgpu"] } ``` Iced has many more optional features. Check the `Cargo.toml` file for more diff --git a/nih_plug_vizia/Cargo.toml b/nih_plug_vizia/Cargo.toml index f210bb1f..dc7fbd57 100644 --- a/nih_plug_vizia/Cargo.toml +++ b/nih_plug_vizia/Cargo.toml @@ -14,7 +14,7 @@ nih_plug_assets = { git = "https://github.com/robbert-vdh/nih_plug_assets.git" } baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "2c1b1a7b0fef1a29a5150a6a8f6fef6a0cbab8c4" } # This contains an as of writing not yet merged patch for rounding errors when # resizing, and a workaround for certain events not firing when resizing -vizia = { git = "https://github.com/robbert-vdh/vizia.git", tag = "patched-2023-12-30", default_features = false, features = ["baseview", "clipboard", "x11"] } +vizia = { git = "https://github.com/robbert-vdh/vizia.git", tag = "patched-2023-12-30", default-features = false, features = ["baseview", "clipboard", "x11"] } crossbeam = "0.8" # To make the state persistable diff --git a/plugins/examples/gain_gui_vizia/Cargo.toml b/plugins/examples/gain_gui_vizia/Cargo.toml index 08a26a07..a3b23357 100644 --- a/plugins/examples/gain_gui_vizia/Cargo.toml +++ b/plugins/examples/gain_gui_vizia/Cargo.toml @@ -12,7 +12,7 @@ description = "A simple gain plugin with an vizia GUI" crate-type = ["cdylib", "lib"] [dependencies] -nih_plug = { path = "../../../", features = ["assert_process_allocs", "standalone"] } +nih_plug = { path = "../../../", features = ["standalone"] } nih_plug_vizia = { path = "../../../nih_plug_vizia" } atomic_float = "0.1"