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"]