From b606ed6a9b07d4b2cccf6858f2411969120dc7cb Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Mon, 24 Jan 2022 12:31:45 -0800 Subject: [PATCH] Fix building with `layer-shell` feature --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f5e6210e..1900f54a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [dependencies] cascade = "1.0.0" +derivative = { version = "2", optional = true } gtk4 = { version = "0.4.4", features = ["v4_4"] } gdk4 = "0.4.4" gdk4-wayland = { version = "0.4.2", features = [ "wayland_crate" ], optional = true } @@ -17,4 +18,4 @@ x11 = { version = "2.19.1", features = ["xlib"] } once_cell = "1.9.0" [features] -layer-shell = ["gdk4-wayland", "wayland-client", "wayland-protocols"] +layer-shell = ["derivative", "gdk4-wayland", "wayland-client", "wayland-protocols"]