mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 04:27:45 +00:00
uucore: make chrono, chrono-tz, iana-time-zone deps optional under the custom-tz-fmt feature
This commit is contained in:
parent
b860ce8553
commit
9dd8d8ab0d
1 changed files with 4 additions and 5 deletions
|
@ -21,8 +21,8 @@ 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 }
|
||||
|
@ -30,8 +30,7 @@ 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
|
||||
iana-time-zone = { workspace = true, optional = true }
|
||||
itertools = { workspace = true, optional = true }
|
||||
thiserror = { workspace = true, optional = true }
|
||||
time = { workspace = true, optional = true, features = [
|
||||
|
@ -134,6 +133,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