1
0
Fork 0

Update nih_plug_iced regarding default features

This commit is contained in:
Robbert van der Helm 2022-03-16 16:07:08 +01:00
parent 6628baf47e
commit c3f717480e

View file

@ -4,12 +4,12 @@ This provides an adapter to create [iced](https://github.com/iced-rs/iced) based
GUIs with NIH-plug through GUIs with NIH-plug through
[iced_baseview](https://github.com/BillyDM/iced_baseview). [iced_baseview](https://github.com/BillyDM/iced_baseview).
By default this targets [wgpu](https://github.com/gfx-rs/wgpu). To use OpenGL By default this targets OpenGL as wgpu causes segfaults on a number of
instead, include the crate with the following options. Note that some iced configurations. To use wgpu instead, include the crate with the following
features may not be available in the OpenGL backend. options:
```toml ```toml
nih_plug_iced = { git = "https://github.com/robbert-vdh/nih-plug.git", default_features = false, features = ["opengl"] } 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 Iced has many more optional features. Check the `Cargo.toml` file for more