[package]
name = "cargo-util"
version = "0.2.30"
rust-version = "1.94"  # MSRV:1
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Miscellaneous support code used by Cargo."

[dependencies]
anyhow.workspace = true
filetime.workspace = true
hex.workspace = true
ignore.workspace = true
portable-atomic.workspace = true
jobserver.workspace = true
same-file.workspace = true
sha2.workspace = true
shell-escape.workspace = true
tempfile.workspace = true
tracing.workspace = true
walkdir.workspace = true

[target.'cfg(target_os = "macos")'.dependencies]
core-foundation.workspace = true

[target.'cfg(unix)'.dependencies]
libc.workspace = true

[target.'cfg(windows)'.dependencies]
miow.workspace = true
windows-sys = { workspace = true, features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_Console"] }

[lints]
workspace = true
