From 97e501db79bb73b6c6e2c8cfd53dd73e61f46326 Mon Sep 17 00:00:00 2001 From: Jonatan Pettersson Date: Sat, 11 Jan 2025 13:04:49 +0100 Subject: [PATCH] Fix defualt dependencies --- Cargo.toml | 2 +- src/desktop.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5b452cb1ac2..2aa30a04931 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ rust-version = "1.80" name = "cosmic" [features] -default = ["multi-window", "a11y"] +default = ["multi-window", "a11y", "dep:shlex"] # Accessibility support a11y = ["iced/a11y", "iced_accessibility"] # Enable about widget diff --git a/src/desktop.rs b/src/desktop.rs index cc1216bc463..1669f0eb09d 100644 --- a/src/desktop.rs +++ b/src/desktop.rs @@ -6,6 +6,7 @@ use std::path::{Path, PathBuf}; #[cfg(not(windows))] use std::{borrow::Cow, ffi::OsStr}; +#[cfg(not(windows))] use crate::mime_app::{exec_term_to_command, exec_to_command}; #[derive(Debug, Clone, PartialEq, Eq)]