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:
hehelego 2023-09-27 21:44:31 -05:00
parent 439e24470a
commit ddd6850083
No known key found for this signature in database
GPG key ID: 7845E5A5F4EF6340
2 changed files with 4 additions and 0 deletions

1
Cargo.lock generated
View file

@ -380,6 +380,7 @@ dependencies = [
"trycmd",
"unicode-width",
"uzers",
"windows-sys",
"zoneinfo_compiled",
]

View file

@ -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"] }