summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5b93570..8ab51f9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,4 +10,9 @@ buffer = { path = "/home/ben/Libraries/buffer" }
geometry = { path = "/home/ben/Libraries/geometry" }
softbuffer = "0.3.1"
-winit = { version = "0.28.1" }
+winit = { version = "0.28.1", default-features=false }
+
+[features]
+default = ["x11", "wayland"]
+x11 = ["winit/x11"]
+wayland = ["winit/wayland"]