Use default-features instead of default_features
The latter is deprecated.
This commit is contained in:
parent
bb274976ca
commit
10aabe3a38
|
@ -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"] }
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue