mirror of
https://github.com/eza-community/eza.git
synced 2025-12-23 05:36:50 +00:00
fix(cargo): add windows-sys dependency for targeting windows
We use functions in this crate to get stdout handler for terminal size query.
This commit is contained in:
parent
439e24470a
commit
ddd6850083
2 changed files with 4 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -380,6 +380,7 @@ dependencies = [
|
|||
"trycmd",
|
||||
"unicode-width",
|
||||
"uzers",
|
||||
"windows-sys",
|
||||
"zoneinfo_compiled",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -101,6 +101,9 @@ proc-mounts = "0.3"
|
|||
[target.'cfg(unix)'.dependencies]
|
||||
uzers = "0.11.3"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
windows-sys = "0.48.0"
|
||||
|
||||
[build-dependencies]
|
||||
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue