uucore: make "dunce" optional

This commit is contained in:
Daniel Hofstetter 2023-09-01 09:42:26 +02:00
parent 44f74c7b25
commit 2e71508308

View file

@ -21,7 +21,7 @@ path = "src/lib/lib.rs"
clap = { workspace = true } clap = { workspace = true }
uucore_procs = { workspace = true } uucore_procs = { workspace = true }
dns-lookup = { version = "2.0.2", optional = true } dns-lookup = { version = "2.0.2", optional = true }
dunce = "1.0.4" dunce = { version = "1.0.4", optional = true }
wild = "2.1" wild = "2.1"
glob = { workspace = true } glob = { workspace = true }
# * optional # * optional
@ -73,7 +73,7 @@ default = []
# * non-default features # * non-default features
encoding = ["data-encoding", "data-encoding-macro", "z85", "thiserror"] encoding = ["data-encoding", "data-encoding-macro", "z85", "thiserror"]
entries = ["libc"] entries = ["libc"]
fs = ["libc", "winapi-util", "windows-sys"] fs = ["dunce", "libc", "winapi-util", "windows-sys"]
fsext = ["libc", "time", "windows-sys"] fsext = ["libc", "time", "windows-sys"]
lines = [] lines = []
memo = ["itertools"] memo = ["itertools"]