[package]
name = "uu_cp"
version = "0.0.30"
authors = [
  "Jordy Dickinson <jordy.dickinson@gmail.com>",
  "Joshua S. Miller <jsmiller@uchicago.edu>",
  "uutils developers",
]
license = "MIT"
description = "cp ~ (uutils) copy SOURCE to DESTINATION"

homepage = "https://github.com/uutils/coreutils"
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/cp"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
categories = ["command-line-utilities"]
edition = "2024"

readme.workspace = true

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

[dependencies]
clap = { workspace = true }
filetime = { workspace = true }
libc = { workspace = true }
linux-raw-sys = { workspace = true }
quick-error = { workspace = true }
selinux = { workspace = true, optional = true }
uucore = { workspace = true, features = [
  "backup-control",
  "buf-copy",
  "entries",
  "fs",
  "fsxattr",
  "perms",
  "mode",
  "update-control",
] }
walkdir = { workspace = true }
indicatif = { 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"]
feat_acl = ["exacl"]
