Skip to content

Commit

Permalink
Use default-features instead of default_features
Browse files Browse the repository at this point in the history
The latter is deprecated.
  • Loading branch information
robbert-vdh committed May 4, 2024
1 parent bb27497 commit 10aabe3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nih_plug_iced/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion nih_plug_iced/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nih_plug_vizia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/examples/gain_gui_vizia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 10aabe3

Please sign in to comment.