Use default-features instead of default_features

The latter is deprecated.
This commit is contained in:
Robbert van der Helm
2024-05-04 20:27:44 +02:00
parent bb274976ca
commit 10aabe3a38
4 changed files with 4 additions and 4 deletions

View File

@@ -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"] }

View File

@@ -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