From 1e40ac3e2452cdba3139756091e8f6f49663dd08 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 13 Mar 2022 13:35:13 +0100 Subject: [PATCH] Prefix wgpu-only features with wgpu_ --- nih_plug_iced/Cargo.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nih_plug_iced/Cargo.toml b/nih_plug_iced/Cargo.toml index 1e5b78b2..cffc71ed 100644 --- a/nih_plug_iced/Cargo.toml +++ b/nih_plug_iced/Cargo.toml @@ -22,23 +22,23 @@ opengl = ["iced_baseview/glow"] # Enables a debug view in native platforms (press F12) debug = ["iced_baseview/debug"] +# Enables the `Image` widget, only supported by the wgpu backend +wgpu_image = ["iced_baseview/image"] +# Enables the `Svg` widget, only supported by the wgpu backend +wgpu_svg = ["iced_baseview/svg"] + # Enables the `Canvas` widget for the wgpu backend -canvas = ["iced_baseview/canvas"] +wgpu_canvas = ["iced_baseview/canvas"] # Enables the `Canvas` widget for the OpenGL backend opengl_canvas = ["iced_baseview/glow_canvas"] -# Enables the `Image` widget, only supported by the wgpu backend -image = ["iced_baseview/image"] -# Enables the `Svg` widget, only supported by the wgpu backend -svg = ["iced_baseview/svg"] - # Enables the `QRCode` widget for the wgpu backend -qr_code = ["iced_baseview/qr_code"] +wgpu_qr_code = ["iced_baseview/qr_code"] # Enables the `QRCode` widget for the OpenGL backend opengl_qr_code = ["iced_baseview/glow_qr_code"] # Enables using system fonts for the wgpu backend -default_system_font = ["iced_baseview/default_system_font"] +wgpu_default_system_font = ["iced_baseview/default_system_font"] # Enables using system fonts for the OpenGL backend opengl_default_system_font = ["iced_baseview/glow_default_system_font"]