mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #7654 from RenjiSann/uucore-cargo-toml
uucore: Minor fix to optional dependences
This commit is contained in:
commit
be7b697341
1 changed files with 6 additions and 8 deletions
|
@ -21,17 +21,16 @@ all-features = true
|
|||
path = "src/lib/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
chrono = { workspace = true }
|
||||
chrono-tz = { workspace = true }
|
||||
chrono = { workspace = true, optional = true }
|
||||
chrono-tz = { workspace = true, optional = true }
|
||||
clap = { workspace = true }
|
||||
uucore_procs = { workspace = true }
|
||||
number_prefix = { workspace = true }
|
||||
dns-lookup = { workspace = true, optional = true }
|
||||
dunce = { version = "1.0.4", optional = true }
|
||||
wild = "2.2.1"
|
||||
glob = { workspace = true }
|
||||
iana-time-zone = { workspace = true }
|
||||
# * optional
|
||||
glob = { workspace = true, optional = true }
|
||||
iana-time-zone = { workspace = true, optional = true }
|
||||
itertools = { workspace = true, optional = true }
|
||||
thiserror = { workspace = true, optional = true }
|
||||
time = { workspace = true, optional = true, features = [
|
||||
|
@ -67,7 +66,6 @@ nix = { workspace = true, features = ["fs", "uio", "zerocopy", "signal"] }
|
|||
xattr = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
clap = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
|
@ -114,7 +112,7 @@ proc-info = ["tty", "walkdir"]
|
|||
quoting-style = []
|
||||
ranges = []
|
||||
ringbuffer = []
|
||||
parser = ["extendedbigdecimal", "num-traits"]
|
||||
parser = ["extendedbigdecimal", "glob", "num-traits"]
|
||||
signals = []
|
||||
sum = [
|
||||
"digest",
|
||||
|
@ -134,6 +132,6 @@ utf8 = []
|
|||
utmpx = ["time", "time/macros", "libc", "dns-lookup"]
|
||||
version-cmp = []
|
||||
wide = []
|
||||
custom-tz-fmt = []
|
||||
custom-tz-fmt = ["chrono", "chrono-tz", "iana-time-zone"]
|
||||
tty = []
|
||||
uptime = ["libc", "windows-sys", "utmpx", "utmp-classic", "thiserror"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue