From 25365ed69abbff56a9b188a37b9cd2469e2bc642 Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Fri, 10 Jul 2020 13:00:23 +0200 Subject: [PATCH] tempfile is only needed with wayland_frontend feature --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3575c23..cf8ab94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ libloading = "0.6.0" nix = "0.17" slog = "2" slog-stdlog = { version = "4", optional = true } -tempfile = "3.0" +tempfile = { version = "3.0", optional = true } thiserror = "1" udev = { version = "0.4", optional = true } wayland-commons = { version = "0.26", optional = true } @@ -63,7 +63,7 @@ backend_session_elogind = ["backend_session_logind"] renderer_gl = ["gl_generator"] renderer_glium = ["renderer_gl", "glium"] use_system_lib = ["wayland_frontend", "wayland-sys", "wayland-server/use_system_lib"] -wayland_frontend = ["wayland-server", "wayland-commons", "wayland-protocols"] +wayland_frontend = ["wayland-server", "wayland-commons", "wayland-protocols", "tempfile"] xwayland = ["wayland_frontend"] test_all_features = ["default"]