From c1168b4f582f99b4e86bdeabca3d19db765fe1af Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sun, 28 Jan 2024 13:40:01 -0800 Subject: [PATCH] Remove drm/kms features from softbuffer (#3439) We use softbuffer as a dev-dependency for rendering into our windows in examples. However, we do not support a DRM/KMS backend yet, while softbuffer comes with a DRM/KMS backend by default. This commit removes the DRM/KMS feature from softbuffer to save some build time during testing --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index df75b34a..5ee45f83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,7 @@ simple_logger = { version = "4.2.0", default_features = false } winit = { path = ".", features = ["rwh_05"] } [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dev-dependencies] -softbuffer = "0.3.0" +softbuffer = { version = "0.3.0", default-features = false, features = ["x11", "x11-dlopen", "wayland", "wayland-dlopen"] } [target.'cfg(target_os = "android")'.dependencies] android-activity = "0.5.0"