[package]
name = "uu_cp"
description = "cp ~ (uutils) copy SOURCE to DESTINATION"
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/cp"
version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
edition.workspace = true
readme.workspace = true

[lints]
workspace = true

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

[dependencies]
clap = { workspace = true }
filetime = { workspace = true }
libc = { workspace = true }
linux-raw-sys = { workspace = true, features = ["ioctl"] }
selinux = { workspace = true, optional = true }
uucore = { workspace = true, features = [
  "backup-control",
  "buf-copy",
  "entries",
  "fs",
  "fsxattr",
  "parser",
  "perms",
  "mode",
  "update-control",
] }
walkdir = { workspace = true }
indicatif = { workspace = true }
thiserror = { workspace = true }
fluent = { workspace = true }

[target.'cfg(unix)'.dependencies]
xattr = { workspace = true }
exacl = { workspace = true, optional = true }

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

[features]
feat_selinux = ["selinux", "uucore/selinux"]
feat_acl = ["exacl"]
