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"
|
path = "src/lib/lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = { workspace = true }
|
chrono = { workspace = true, optional = true }
|
||||||
chrono-tz = { workspace = true }
|
chrono-tz = { workspace = true, optional = true }
|
||||||
clap = { workspace = true }
|
clap = { workspace = true }
|
||||||
uucore_procs = { workspace = true }
|
uucore_procs = { workspace = true }
|
||||||
number_prefix = { workspace = true }
|
number_prefix = { workspace = true }
|
||||||
dns-lookup = { workspace = true, optional = true }
|
dns-lookup = { workspace = true, optional = true }
|
||||||
dunce = { version = "1.0.4", optional = true }
|
dunce = { version = "1.0.4", optional = true }
|
||||||
wild = "2.2.1"
|
wild = "2.2.1"
|
||||||
glob = { workspace = true }
|
glob = { workspace = true, optional = true }
|
||||||
iana-time-zone = { workspace = true }
|
iana-time-zone = { workspace = true, optional = true }
|
||||||
# * optional
|
|
||||||
itertools = { workspace = true, optional = true }
|
itertools = { workspace = true, optional = true }
|
||||||
thiserror = { workspace = true, optional = true }
|
thiserror = { workspace = true, optional = true }
|
||||||
time = { workspace = true, optional = true, features = [
|
time = { workspace = true, optional = true, features = [
|
||||||
|
@ -67,7 +66,6 @@ nix = { workspace = true, features = ["fs", "uio", "zerocopy", "signal"] }
|
||||||
xattr = { workspace = true, optional = true }
|
xattr = { workspace = true, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
clap = { workspace = true }
|
|
||||||
tempfile = { workspace = true }
|
tempfile = { workspace = true }
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.dependencies]
|
[target.'cfg(target_os = "windows")'.dependencies]
|
||||||
|
@ -114,7 +112,7 @@ proc-info = ["tty", "walkdir"]
|
||||||
quoting-style = []
|
quoting-style = []
|
||||||
ranges = []
|
ranges = []
|
||||||
ringbuffer = []
|
ringbuffer = []
|
||||||
parser = ["extendedbigdecimal", "num-traits"]
|
parser = ["extendedbigdecimal", "glob", "num-traits"]
|
||||||
signals = []
|
signals = []
|
||||||
sum = [
|
sum = [
|
||||||
"digest",
|
"digest",
|
||||||
|
@ -134,6 +132,6 @@ utf8 = []
|
||||||
utmpx = ["time", "time/macros", "libc", "dns-lookup"]
|
utmpx = ["time", "time/macros", "libc", "dns-lookup"]
|
||||||
version-cmp = []
|
version-cmp = []
|
||||||
wide = []
|
wide = []
|
||||||
custom-tz-fmt = []
|
custom-tz-fmt = ["chrono", "chrono-tz", "iana-time-zone"]
|
||||||
tty = []
|
tty = []
|
||||||
uptime = ["libc", "windows-sys", "utmpx", "utmp-classic", "thiserror"]
|
uptime = ["libc", "windows-sys", "utmpx", "utmp-classic", "thiserror"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue