From 8cb57811a62580b44b463dab1f7a60e0162d8fa6 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Mon, 20 Apr 2026 01:27:29 -0600 Subject: [PATCH] make rfd optional (#782) --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index eb08bd08..c408403f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ rust-version = "1.95.0" [features] default = ["gui"] -gui = ["dep:slint", "dep:slint-build"] +gui = ["dep:rfd", "dep:slint", "dep:slint-build"] [dependencies] dirs = "6.0" @@ -21,7 +21,7 @@ open = "5.3" sha2 = "0.11" sdl3-sys = { version = "0.6", features = ["build-from-source-static"] } sdl3-ttf-sys = { version = "0.6", features = ["build-from-source-static", "no-sdlttf-harfbuzz", "no-sdlttf-plutosvg"] } -rfd = "0.17" +rfd = {version = "0.17", optional = true } tokio = {version = "1.46", features = ["rt-multi-thread", "macros", "fs", "process"] } spin_sleep = "1.3" encoding_rs = "0.8"