From 6b65b7d9526c67abd8d791cd78a2adf0e9bdc206 Mon Sep 17 00:00:00 2001 From: Tal <83217276+talwat@users.noreply.github.com> Date: Sun, 28 Dec 2025 18:00:21 +0100 Subject: [PATCH] chore: make arc-swap optional --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 465b091..c6fad03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ homepage = "https://github.com/talwat/lowfi" repository = "https://github.com/talwat/lowfi" [features] -mpris = ["dep:mpris-server"] +mpris = ["dep:mpris-server", "dep:arc-swap"] extra-audio-formats = ["rodio/default"] scrape = [ "dep:serde", @@ -38,7 +38,7 @@ thiserror = "2.0.12" # Async tokio = { version = "1.41.1", features = ["macros", "rt", "fs", "io-util", "sync", "time"], default-features = false } futures-util = { version = "0.3.31", default-features = false } -arc-swap = "1.7.1" +arc-swap = { version = "1.7.1", optional = true } # Data reqwest = { version = "0.12.9", features = ["stream", "http2", "default-tls"], default-features = false }