From 7803259949b694fc01ca86f751a43962c38c01a1 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Fri, 29 Apr 2022 17:41:27 +0200 Subject: [PATCH] cargo: add experimental feature for unreleased protocols --- Cargo.toml | 1 + src/wayland/mod.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 14700a5f..a65e30f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,7 @@ wayland-scanner = "0.29" [features] default = [] debug = ["egui", "smithay-egui", "serde_json"] +experimental = [] [profile.dev] lto = "thin" diff --git a/src/wayland/mod.rs b/src/wayland/mod.rs index f0516c72..2dc95bd7 100644 --- a/src/wayland/mod.rs +++ b/src/wayland/mod.rs @@ -2,5 +2,7 @@ mod drm; pub use drm::*; +#[cfg(feature = "experimental")] mod workspace; +#[cfg(feature = "experimental")] pub use workspace::*; \ No newline at end of file