From 2e715083082e5a729d8804c0b2a430c08e762607 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 1 Sep 2023 09:42:26 +0200 Subject: [PATCH] uucore: make "dunce" optional --- src/uucore/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uucore/Cargo.toml b/src/uucore/Cargo.toml index 823591084..8557d2fd4 100644 --- a/src/uucore/Cargo.toml +++ b/src/uucore/Cargo.toml @@ -21,7 +21,7 @@ path = "src/lib/lib.rs" clap = { workspace = true } uucore_procs = { workspace = true } dns-lookup = { version = "2.0.2", optional = true } -dunce = "1.0.4" +dunce = { version = "1.0.4", optional = true } wild = "2.1" glob = { workspace = true } # * optional @@ -73,7 +73,7 @@ default = [] # * non-default features encoding = ["data-encoding", "data-encoding-macro", "z85", "thiserror"] entries = ["libc"] -fs = ["libc", "winapi-util", "windows-sys"] +fs = ["dunce", "libc", "winapi-util", "windows-sys"] fsext = ["libc", "time", "windows-sys"] lines = [] memo = ["itertools"]