[package]
name = "uu_sync"
description = "sync ~ (uutils) synchronize cache writes to storage"
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/sync"
version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
edition.workspace = true
rust-version.workspace = true
readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/sync.rs"

[dependencies]
clap = { workspace = true }
uucore = { workspace = true, features = ["wide"] }
fluent = { workspace = true }

[target.'cfg(unix)'.dependencies]
nix = { workspace = true }

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

[[bin]]
name = "sync"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
normal = ["uucore_procs"]
