From c8ea1cf316419d6e0830d226dfdf6304e07804ae Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 27 Apr 2022 13:13:49 +0200 Subject: [PATCH] Work around rust-analyzer problems with baseview --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c26a3a56..2e3f2bbd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,7 +81,9 @@ widestring = "1.0.0-beta.1" assert_no_alloc = { version = "1.1", optional = true } # Used for the `standalone` feature -baseview = { git = "https://github.com/robbert-vdh/baseview.git", branch = "feature/resize", optional = true } +# NOTE: OpenGL support is not needed here, but rust-analyzer gets confused when +# some crates do use it and others don't +baseview = { git = "https://github.com/robbert-vdh/baseview.git", branch = "feature/resize", features = ["opengl"], optional = true } # Used for the `vst3` feature vst3-sys = { git = "https://github.com/robbert-vdh/vst3-sys.git", branch = "fix/note-off-event", optional = true }